Fractran: Difference between revisions
m
→JS Functional: Pruned some more unused functions
(→JS Functional: Pruned out a few unused functions) |
m (→JS Functional: Pruned some more unused functions) |
||
Line 2,043:
length: 2
});
// abs :: Num -> Num
Line 2,052 ⟶ 2,050:
const bindMay = (mb, mf) =>
mb.Nothing ? mb : mf(mb.Just);
// div :: Int -> Int -> Int
Line 2,078 ⟶ 2,072:
return Nothing();
};
// fmapMay (<$>) :: (a -> b) -> Maybe a -> Maybe b
Line 2,102 ⟶ 2,089:
return _gcd(abs(x), abs(y));
};
// iterate :: (a -> a) -> a -> Gen [a]
|