Skip to content

Instantly share code, notes, and snippets.

@cb372
cb372 / jargon.md
Last active May 14, 2024 03:45
Category theory jargon cheat sheet

Category theory jargon cheat sheet

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.

Functor

A functor is something that supports map.

@regis-leray
regis-leray / gist:755127
Created December 26, 2010 00:40
jquery-ujs + add back :submit, :with features
/*
* jquery-ujs
*
* add back the features ":submit",":with" features (link_to_remote) in the UJS
* manage this features by adding this with the HTML 5 attributes
* :with => data-with
* :submit => data-submit
*
* follow same behaviour http://apidock.com/rails/ActionView/Helpers/PrototypeHelper/link_to_remote
*