git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
#!/usr/bin/env runhaskell | |
-- Synopsis: | |
-- $ cabal install QuickCheck | |
-- $ runhaskell io_quickcheck_example.hs | |
-- | |
-- Author: Issac Trotts <issac.trotts@gmail.com> | |
import Directory | |
import System.Environment |
13:15 <xQuasar> | HASKELL IS FOR FUCKIN FAGGOTS. YOU'RE ALL A BUNCH OF | |
| FUCKIN PUSSIES | |
13:15 <xQuasar> | JAVASCRIPT FOR LIFE FAGS | |
13:16 <luite> | hello | |
13:16 <ChongLi> | somebody has a mental illness! | |
13:16 <merijn> | Wow...I suddenly see the error of my ways and feel | |
| compelled to write Node.js! | |
13:16 <genisage> | hi | |
13:16 <luite> | you might be pleased to learn that you can compile | |
| haskell to javascript now |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
"use strict"; | |
// module UnderscoreFFI | |
exports.map = function(f) { | |
return function (arr) { | |
return require('underscore').map(arr, f); | |
}; | |
}; |
module Main where | |
import Prelude | |
import Data.Maybe | |
import Control.Monad.Eff | |
import Graphics.Canvas as C | |
import Signal as S | |
import Signal.DOM as S |
Okay, so I'll try and walk through the reader monad as best as I can. And | |
because I think it helps to de-mystify things a bit, I'll also go through | |
all of the "super classes" of monad: functor and applicative (because every | |
monad should also be an applicative and every applicative functor should be | |
a functor). This file is literate Haskell so you should just be able to | |
load it in the REPL or run it. It's also kinda/sorta markdown, so it should | |
render that way as well (but the code is formatted wrong). | |
> module Reader where |
root: true | |
extends: eslint:recommended | |
parserOptions: | |
ecmaVersion: 2017 | |
ecmaFeatures: | |
impliedStrict: true | |
sourceType: module | |
env: | |
es6: true | |
browser: true |
This question was asked at the recent HaskellX conference, with both practicioners as well as teachers being present. I won't reiterate everything that was said, and instead link to a recording of the podium discussion (https://skillsmatter.com/skillscasts/10952-park-bench-panel-session-with-haskellx-experts).
One particular argument, that I've heard come up multiple times now, is that teachers are complaining about the length
function being polymorphic. Apparently length :: forall a. Foldable f => f a -> Int
is hard to grasp/understand/accept for a new-comer. The solutions proposed to solve this problem are to:
Drawbacks for 1 include that practicioners like the fact that length works for all kinds of data structures, and don't want that taken away from them. The primary problem with solution 2 is that students can't go and use their aquired knowledge to work on Open