News for hackers. Stuff that matters.
Re:Perl 6 – Getting beyond static vs. dynamic [pdf] by tel on Sunday February 22, 2015 @07:12PM (#9091852)
The idea of trying to move subset types forward is interesting. Using an SMT solver [0] you can move quite a bit forward. Otherwise, generally, you're talking about associating a dictionary of pre- and post-conditions with a type (e.g., Weekday is a new nominal type isomorphic with Day, but it also has an associated dict containing checks that it's within Mon-Fri). Carrying that dict around has been well-solved by Haskell's typeclass compilation machinery and then it's just a matter of inserting the checks at the right times and not more often, I suppose.

[0] http://goto.ucsd.edu/~rjhala/liquid/haskell/blog/about/

Re:Perl 6 – Getting beyond static vs. dynamic [pdf] by raiph on Sunday February 22, 2015 @07:41PM (#9091945)
Perhaps you're aware that one of the biggest influences on P6 was Haskell and the 2005-2007 Audrey Tang / Pugs / lambdacamels era. Loads of crazy smart kids sharing wild thoughts with Larry, Damian etc. and writing the first P6 compiler in Haskell.
Re:Perl 6 – Getting beyond static vs. dynamic [pdf] by tel on Sunday February 22, 2015 @11:24PM (#9092537)
I'm dimly aware, but that was prior to my time. I'm definitely able to see the influences, though! :)