You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//data FlipFree a i = FlipFree { flip :: Free i a }constFlipFree=daggy.tagged('flip')// same as `hoist`// :: FlipFree z a ~> (a -> b) -> FlipFree z b// FlipFree.prototype.map - TODO derive// same as `???`// :: FlipFree z (a -> b) -> FlipFree z a -> FlipFree z b// FlipFree.prototype.ap - TODO derive// ap :: (Monad m) => m (a -> b) -> m a -> m b// ap m1 m2 = do { x1 <- m1; x2 <- m2; return (x1 x2) }// this is same as `graft`// :: FlipFree z a ~> (a -> FlipFree z b) -> FlipFree z bFlipFree.prototype.chain=function(f){returnFlipFree(this.flip.foldMap(v=>f(v).flip,this.flip.constructor))}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: