Re: [Haskell-cafe] DSL for business logic

2004-10-19 Thread Henning Thielemann
On Mon, 18 Oct 2004, Bhinderwala, Shoeb wrote: Are monadic programming concepts essential to create a DSL? Certainly not, e.g. most parts of Haskore (Music programming in Haskell) don't need Monads. You need Monads for I/O and they can help structuring computations with states. Referring to

Re: [Haskell-cafe] DSL for business logic

2004-10-19 Thread Vincenzo Ciancia
On Monday 18 October 2004 21:35, Bhinderwala, Shoeb wrote: Are monadic programming concepts essential to create a DSL. I am just learning Haskell and haven't grasped fully the concepts of monadic programming yet. I suggested using monads and arrows for DSLs is because they provide a

[Haskell-cafe] STG questions

2004-10-19 Thread Andrew Harris
Hi - I am reading Simon Peyton Jones's Implementing lazy functional languages on stock hardware: the Spineless Tagless G-Machine (I have version 2.5) paper. I would like very much to understand the contents of Figure 5 which illustrate the mapping of the map function from STG code to C.