Brian Lonsdorf

Results 47 comments of Brian Lonsdorf

Hi! I ported the types from this lib/video https://www.youtube.com/watch?v=cefnmjtAolY from edward kmett. I feel like the video is a much better explanation that i could try to type :)

He did the same presentation in scala if that's more familiar. Are you good with functors already? I'd start tbere

Hey! I'd love contributions. The goal was to provide some wrapper methods that made point free programming possible with fantasy land. It got a little tricky when i didn't want...

I agree completely with you on what the library should provide. For me, I wanted two things: First, to be able to plug in any fantasy-land compliant object and be...

One last thought. I'd been seeing output like: ``` js console.log(Maybe(Sum(2))) // { val: {val: 2} } ``` If we provided a Show typeclass interface, we could use a "print"...

Ah, duh! Good call. So maybe an Inspectable interface with just the inspect method? That could just be: ``` js var inspect = function(x) { return x.inspect ? x.inspect() :...

I'm working on fantasy-constant so i can get it out of here and my lens lib will still work. Fantasy-identities was plug and play so no need for "identity". I'll...

Sweet!

I shall. In the meantime, I've been using folktale's data.either. I dig it very much. For the most up-to-date stuff checkout: https://github.com/DrBoolean/hardcorejs/blob/master/demos/step4/flickr.js which uses: http://looprecur.com/hostedjs/v2/hcjs.js