Notes and Exercises from Chapter 10 of Haskell Book
[1, 2, 3] ++ undefined
:
module Main where | |
import Control.Monad (forever) | |
import Data.Char (toLower) | |
import Data.Maybe (isJust) | |
import Data.List (intersperse, nub) | |
import System.Exit (exitSuccess) | |
import System.Random (randomRIO) | |
import System.IO |
-- 11-exercise-phone.hs | |
module ExercisePhone where | |
import Data.Char | |
import Data.List | |
import Data.Maybe | |
type Key = Char | |
type Presses = Int |
[1, 2, 3] ++ undefined
:
$ ./convert.sh ppt_colorbar.png
+ gm convert ppt_colorbar.png txt:-
Many, perhaps most, programming languages have type systems that feel like haggling with a petty merchant. Haskell provides a type system that more closely resembles a quiet, pleasant conversation with a colleague than an argument in the bazaar.
@-moz-document domain("github.com"), domain("gist.github.com"), domain("render.githubusercontent.com") { | |
/* Hasklig https://github.com/i-tu/Hasklig */ | |
/* Fira Code https://github.com/tonsky/FiraCode */ | |
/* Ligaturizer https://github.com/ToxicFrog/Ligaturizer */ | |
.branch-name, | |
.blob-num, | |
.blob-code-inner, | |
.CodeMirror pre, | |
.commit .sha, | |
.commit-desc pre, |
// ==UserScript== | |
// @name Unstable Warner | |
// @namespace http://tampermonkey.net/ | |
// @version 0.5 | |
// @description Warn before merging unstable pull requests on GitHub | |
// @author Terence Tuhinanshu @rajadain | |
// @match https://github.com/**/pull/* | |
// @grant none | |
// ==/UserScript== |
<key name="Colors" modified="2015-12-10 22:46:43" build="151210"> | |
<value name="Count" type="dword" data="00000001"/> | |
<key name="Palette1" modified="2015-12-10 22:46:43" build="151210"> | |
<value name="Name" type="string" data="Material Theme"/> | |
<value name="ColorTable00" type="dword" data="004d4335"/> | |
<value name="ColorTable01" type="dword" data="006b60eb"/> | |
<value name="ColorTable02" type="dword" data="008de8c3"/> | |
<value name="ColorTable03" type="dword" data="0095ebf7"/> | |
<value name="ColorTable04" type="dword" data="00c4cb80"/> | |
<value name="ColorTable05" type="dword" data="009024ff"/> |
I hereby claim:
To claim this, I am signing this object: