Haskell is also optionally typed now (at least with GHC 7.6.1)

4 views
Skip to first unread message

Hamish Mackenzie

unread,
Dec 10, 2012, 9:47:39 PM12/10/12
to illegal...@googlegroups.com
They got there in the opposite direction from Typescript and the Closure Compiler though.

Add the pragma {-# OPTIONS_GHC -fdefer-type-errors #-} to your source file and type errors will just be reduced to warnings at compile time.

I have asked for -fdefer-undefined-errors using the recently added "Holes" feature (SPJ seems to be in favour).

Hamish
Reply all
Reply to author
Forward
0 new messages