Install the following opam packages:
opam install caml-mode merlin ocp-indent
Tweak your .emacs
file with some or all of the following:
; shift tab to complete
(global-set-key (kbd "S-<tab>") 'company-complete)
// HKT simulation | |
interface Kind<out F, out A> | |
// ---------------------------------------------------------------------------- | |
interface Monad<F> { | |
fun <A, B> map(ma: Kind<F, A>, f: (A) -> B): Kind<F, B> | |
fun <A> join(ma: Kind<F, Kind<F, A>>): Kind<F, A> | |
fun <A, B> bind(ma: Kind<F, A>, f: (A) -> Kind<F, B>): Kind<F, B> = join(map(ma, f)) |
Install the following opam packages:
opam install caml-mode merlin ocp-indent
Tweak your .emacs
file with some or all of the following:
; shift tab to complete
(global-set-key (kbd "S-<tab>") 'company-complete)
Edit: This list is now maintained in the rust-anthology repo.
module Main exposing (..) | |
import Html exposing (Html, div, hr, text) | |
import Html.App as App | |
import Navigation | |
-- APP IMPORTS | |
import FirstPage |
A primer/refresher on the category theory concepts that most commonly crop up in conversations about Scala or FP. (Because it's embarassing when I forget this stuff!)
I'll be assuming Scalaz imports in code samples, and some of the code may be pseudo-Scala.
A functor is something that supports map
.
Screen resolutions | |
------------------ | |
PICO-8 supports different undocumented videomodes that can be activated at runtime, | |
using poke(0x5F2C, X) where X is one of the following mode numbers: | |
0: 128x128, 0 pages | |
1: 64x128, 1 page | |
2: 128x64, 1 page | |
3: 64x64, 3 pages |
Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets
“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important
or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”
You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?