Haskell interpreters

10 views
Skip to first unread message

Phaedon Sinis

unread,
Nov 3, 2011, 8:10:31 PM11/3/11
to stanford-11au-cs240h
Hi all,

This is an incredible tutorial if you're interested in DSLs, or even if you're still struggling to make the mental shift from data to functions as you start your projects. My advice is to ignore the (rather intimidating) title and at least work through at least the first couple of tutorial files (ExtF.hs is particularly awesome).


My question: are there any risks to using the TypeSynonymInstances pragma? I see how it makes the examples really simple, and avoids the need to wrap everything in a data constructor.

best,
Phaedon


Bryan O'Sullivan

unread,
Nov 3, 2011, 8:29:18 PM11/3/11
to stanford-1...@googlegroups.com, stanford-11au-cs240h
That extension is completely safe to use.
Reply all
Reply to author
Forward
0 new messages