[Haskell-cafe] A very nontrivial parser

Andrew Coppin andrewcoppin at btinternet.com
Fri Jul 6 13:17:36 EDT 2007


Donald Bruce Stewart wrote:
> andrewcoppin:
>   
>> Personally, I just try to avoid *all* language extensions - mainly 
>> because most of them are utterly incomprehensible. (But then, perhaps 
>> that's just because they all cover extremely rare edge cases?)
>>     
>
> Some cover edge cases, some are just useful.  What about:
>
>     * the FFI
>     * bang patterns
>     * pattern guards
>     * newtype deriving
>
> Surely, fairly simple, useful. Used a lot? :-)


* The FFI - isn't that now officially "in" the language? (I thought 
there was an official report amendment.) Either way, I can't do C, so... 
it looks pretty incomprehensible from here. ;-)

* Bang patterns - what's that?

* Pattern guards - that's not in the language?

* Newtype deriving - what's that?



More information about the Haskell-Cafe mailing list