This is a brief and bare-bones guide to getting GHC 7.2 and the cabal-install
tool (the two basic things you'll need to do Haskell development) up and running
on a new Mac OS X 10.7 install.
The instructions given here worked for me, but YMMV.
| let color = "blue" | |
| let num = 42 | |
| localized("Colorless green ideas sleep furiously.") | |
| localized("Colorless \(color) ideas sleep furiously.") | |
| localized("\(num.formatted("%05d")) colorless green ideas sleep furiously.") |
| const I = x => x | |
| const K = x => y => x | |
| const A = f => x => f (x) | |
| const T = x => f => f (x) | |
| const W = f => x => f (x) (x) | |
| const C = f => y => x => f (x) (y) | |
| const B = f => g => x => f (g (x)) | |
| const S = f => g => x => f (x) (g (x)) | |
| const S_ = f => g => x => f (g (x)) (x) | |
| const S2 = f => g => h => x => f (g (x)) (h (x)) |
| package com.github.vmironov | |
| import kotlin.reflect.jvm.internal.impl.serialization.ClassData | |
| import kotlin.reflect.jvm.internal.impl.serialization.Flags | |
| import kotlin.reflect.jvm.internal.impl.serialization.ProtoBuf | |
| import kotlin.reflect.jvm.internal.impl.serialization.jvm.JvmProtoBufUtil | |
| data class Foo(val foo: String) | |
| data class Bar(val bar: String) |
| # In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env | |
| # variable pointing GPG to the gpg-agent socket. This little script, which must be sourced | |
| # in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start | |
| # gpg-agent or set up the GPG_AGENT_INFO variable if it's already running. | |
| # Add the following to your shell init to set up gpg-agent automatically for every shell | |
| if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then | |
| source ~/.gnupg/.gpg-agent-info | |
| export GPG_AGENT_INFO | |
| else |
| --- ----------------- ---- | |
| Map Quick Explanation Link | |
| --- ----------------- ---- | |
| < <F1> Causes Netrw to issue help | |
| <cr> Netrw will enter the directory or read the file |netrw-cr| | |
| <del> Netrw will attempt to remove the file/directory |netrw-del| | |
| <c-h> Edit file hiding list |netrw-ctrl-h| | |
| <c-l> Causes Netrw to refresh the directory listing |netrw-ctrl-l| | |
| <c-r> Browse using a gvim server |netrw-ctrl-r| | |
| <c-tab> Shrink/expand a netrw/explore window |netrw-c-tab| |
| #!/usr/bin/env node | |
| const fs = require("fs"); | |
| const parse = require("css").parse; | |
| const path = require("path"); | |
| if (process.argv.length !== 3) { | |
| const exec = path.basename(process.argv[1]); | |
| console.log(`usage ./${exec} input.css`); | |
| console.log("converts css to elm-css snippets"); |