News for hackers. Stuff that matters.
Re:Idris - pure functional programming language with depende... by radarsat1 on Thursday January 19, 2012 @08:45AM (#3484412)
Very nice, haven't heard of this before. I think an ideal target for a dependently typed language is scientific array programming, so that you can ensure the sizes of your matrix and array operations check out before performing long-running tasks. If a good array library can be built (e.g. port Haskell's Repa) then it might provide a great foundation for this.
Re:Idris - pure functional programming language with depende... by dons on Thursday January 19, 2012 @09:58AM (#3484699)
With type level naturals recently added to GHC, statically checked arrays are already implementable in Haskell.

* http://hackage.haskell.org/package/vector-static

* http://hackage.haskell.org/package/hmatrix-static

A nice next step would be to optimize out additional runtime bounds checks.

Re:Idris - pure functional programming language with depende... by radarsat1 on Friday January 20, 2012 @03:55PM (#3491180)
Very nice! I really look forward to using something like that.