[Haskell-cafe] Looking for feedback on my attempt at a tree construction edsl
C K Kashyap
ckkashyap at gmail.com
Wed Mar 23 06:45:57 CET 2011
Hi,
I've tried a non-monadic version based on the suggestions here -
https://github.com/ckkashyap/LearningPrograms/blob/master/Haskell/edsl/TreeWithoutMonad.hs
This implementation seems to lack the "indentation based" approach that the
do syntax allows.
Would I be right if I said that the non-monadic version is "shallow
embedding" and the monadic approach is deep embedding? Can we do deep
embedding without using monads?
Regards,
Kashyap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110323/1419430a/attachment.htm>
More information about the Haskell-Cafe
mailing list