Skip to content

Instantly share code, notes, and snippets.

@kasbah
kasbah / possible_fixes
Last active August 29, 2015 14:14
git log --no-merges 1.1.0..master | grep -B 5 -i fix
commit b0847df6e143b29d725c22f427673b193b17b450
Author: Jonathan Hefner <[email protected]>
Date: Thu Jan 22 18:45:10 2015 -0600
Fix typo and missing imports
--
commit f2dda3b4552af69731925d78eaf37fe68f0d22f3
Author: Evan Czaplicki <[email protected]>
var Elm = Elm || { Native: {} };
Elm.Basics = Elm.Basics || {};
Elm.Basics.make = function (_elm) {
"use strict";
_elm.Basics = _elm.Basics || {};
if (_elm.Basics.values)
return _elm.Basics.values;
var _op = {},
_N = Elm.Native,
_U = _N.Utils.make(_elm),
@kasbah
kasbah / log
Created September 2, 2014 12:00
Building dash-haskell-1.0.0.0...
Preprocessing executable 'dash-haskell' for dash-haskell-1.0.0.0...
[15 of 16] Compiling Options ( src/Options.hs, dist/build/dash-haskell/dash-haskell-tmp/Options.o )
src/Options.hs:38:5:
Couldn't match expected type ‘Parser DbProvider’
with actual type ‘Mod OptionFields DbProvider -> Parser DbProvider’
Probable cause: ‘nullOption’ is applied to too few arguments
In the second argument of ‘(<$>)’, namely
‘nullOption
@kasbah
kasbah / tree.hs
Created August 22, 2014 16:00
A binary fractal tree -- with only constant inputs
--license: CC-0
--see: https://creativecommons.org/publicdomain/zero/1.0/
--Elm version: http://share-elm.com/sprout/53ee4e81e4b07afa6f9844c9
import FRP.Helm
import qualified FRP.Helm.Window as Window
import qualified FRP.Helm.Mouse as Mouse
data Branch = Branch { branch_x1 :: Double
@kasbah
kasbah / tree.hs
Last active August 29, 2015 14:05
A binary fractal tree ported from Elm to Helm.
--license: CC-0
--see: https://creativecommons.org/publicdomain/zero/1.0/
--Elm version: http://share-elm.com/sprout/53ee4e81e4b07afa6f9844c9
import FRP.Helm
import qualified FRP.Helm.Window as Window
import qualified FRP.Helm.Mouse as Mouse
data Branch = Branch { branch_x1 :: Double
(function() {
var countries, country, json, key, one_test, test_bom;
countries = get_local("data/countries.json");
test_bom = get_local("data/big_example.tsv", json = false);
one_test = function(country) {
stop();
return chrome.storage.local.set({

Wed Jun 18 11:00:13 BST 2014

  • Setting up bench

Wed Jun 18 11:25:17 BST 2014

  • Testing servo on both models (connected to VBAT)
    • No problems encountered
  • Testing servo + stepper
  • RPIO module has problems running both at once (not a HW issue)
#### Wed Jun 18 11:00:13 BST 2014
- Setting up bench
#### Wed Jun 18 11:25:17 BST 2014
- Testing servo on both models (connected to VBAT)
- No problems encountered
- Testing servo + stepper
- RPIO module has problems running both at once (not a HW issue)
#### Wed Jun 18 11:00:13 BST 2014
- Setting up bench
#### Wed Jun 18 11:25:17 BST 2014
- Testing servo on both models (connected to VBAT)
- No problems encountered
- Testing servo + stepper
- RPIO module has problems running both at once (not a HW issue)

This is my recommended path for learning Haskell.

Something to keep in mind: don't sweat the stuff you don't understand immediately. Just keep moving.

Primary course

Installing Haskell

Ubuntu PPA