This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Control.Monad.Eff | |
import Data.Either | |
import Data.Foreign | |
import Data.Function | |
import Debug.Trace |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Test where | |
import Data.Foldable (traverse_) | |
import Control.Monad.Eff | |
import Control.Monad.State | |
import Control.Monad.State.Class | |
import Control.Monad.State.Trans | |
import Control.Monad.Reader | |
import Control.Monad.Reader.Class |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Test where | |
import Data.Foldable (traverse_) | |
import Control.Monad.Eff | |
import Control.Monad.State | |
import Control.Monad.State.Class | |
import Control.Monad.Reader | |
import Control.Monad.Reader.Class |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Data.Trev where | |
import Data.Monoid | |
import Data.Function | |
import Data.Foldable | |
import Data.String (length) | |
import Data.String.Unsafe (charCodeAt) | |
map = (<$>) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Data.Hashable where | |
import Data.Maybe | |
import Data.Tuple | |
import Data.Either | |
import Data.String | |
import Data.Char | |
import Data.Function | |
import Data.Foldable | |
import Control.Plus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var R = require ('ramda'), | |
split = R.split, | |
join = R.join, | |
zip = R.zip, | |
zipWith = R.zipWith, | |
head = R.head, | |
last = R.last, | |
map = R.map, | |
compose = R.compose, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Tuple2 = require('fantasy-tuples').Tuple2, | |
daggy = require('daggy'), | |
Writer = daggy.tagged('run'); | |
Writer.of = function(x, y) { | |
return Writer(function() { | |
return Tuple2(x, y.concat(y.empty())); | |
}); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
var Future = require('data.future'); | |
var Either = require('data.either'); | |
var State = require('fantasy-states'); | |
var Tuple2 = require('fantasy-tuples').Tuple2; | |
var Tuple3 = require('fantasy-tuples').Tuple3; | |
var IO = require('fantasy-io'); | |
var Maybe = require('pointfree-fantasy/instances/maybe'); | |
var _ = require('ramda'); | |
var http = require('http'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
require('pointfree-fantasy').expose(global); | |
var Future = require('data.future'); | |
var Either = require('data.either'); | |
var State = require('fantasy-states'); | |
var Tuple2 = require('fantasy-tuples').Tuple2; | |
var Tuple3 = require('fantasy-tuples').Tuple3; | |
var IO = require('fantasy-io'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('pointfree-fantasy').expose(global); | |
var Future = require('data.future'); | |
var Either = require('data.either'); | |
var State = require('fantasy-states'); | |
var Tuple2 = require('fantasy-tuples').Tuple2; | |
var Tuple3 = require('fantasy-tuples').Tuple3; | |
var IO = require('fantasy-io'); | |
var Maybe = require('pointfree-fantasy/instances/maybe'); | |
var _ = require('ramda'); |