[Haskell-beginners] Implement semantic editor combinators

Javran Cheng javran.c at gmail.com
Sun Mar 23 05:51:32 UTC 2014


On Fri, Mar 21, 2014 at 6:19 PM, Kim-Ee Yeoh <ky3 at atamo.com> wrote:
>
> On Fri, Mar 21, 2014 at 6:31 PM, Javran Cheng <javran.c at gmail.com> wrote:
>>
>> Hope you enjoy it and please feel free to give me comments and
>> indicate my misconceptions.
>
>
> A couple of things come to mind: you could
>
> * Ping @conal whether via email or twitter -- he's very friendly and likes
> helping students. And since you worked hard at one of his blog entries, you
> just might make his day! (I could also introduce you to him -- just ask.)
>

I'll absolutely do that!

> * Have you looked at the lens library? What would the code look like using
> lenses instead of SECs? A comparison would reveal tons of insights -- please
> blog and share for everyone!
>

I tried lens few days ago to rewrite my code about "invertible functions",
and to my surprise the translation was just a word-by-word conversion:

https://gist.github.com/Javran/9593215

Also thanks for pointing me the idea of making comparison between lens
and SEC, I'll try to play with it and see if I can extend my knowledge
about it.

>
> -- Kim-Ee
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>



-- 
Javran (Fang) Cheng


More information about the Beginners mailing list