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

4 weergaven
Naar het eerste ongelezen bericht

Hamish Mackenzie

ongelezen,
10 dec 2012, 21:47:3910-12-2012
aan 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
Allen beantwoorden
Auteur beantwoorden
Doorsturen
0 nieuwe berichten