» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with Haskell + mathematics

Typed Logic: A stream of primes as Comonad

"A comonad is a special way at looking at a data structure that allows one to work with the individual members of that data structure in the context of the entire data structure." Comonads are the dual structure to monads.

Haskell: del.icio.us tag/haskell

Functional Graph Library/Haskell

The functional graph library for Haskell provides several modules that define inductive graphs and graph algorithms.

Haskell: del.icio.us tag/haskell

Lambda calculus - Wikipedia, the free encyclopedia

Haskell is based on the lambda calculus. "Since every expression is a unary function, and every argument and result are functions too, lambda calculus is quite interesting and unique within both computation and mathematics." . Building on earlier work by Kleene and constructing a Gödel numbering for lambda expressions, he constructs a lambda expression e which closely follows the proof of Gödel's first incompleteness theorem. If e is applied to its own Gödel number, a contradiction results.

Haskell: del.icio.us tag/haskell

Re: Haskell begin Exercises for beginners and Natural Tansformations

"a natural transformation transforms (F a) into (G a) without looking at the a's."

Haskell: del.icio.us tag/haskell

From enumerators to cursors: turning the left fold inside out

~"given the non-recursive left-fold we can: instantiate it into the ordinary left fold, or instantiate in into a stream." Also there is some deep mystery linking fixed points, folds, and call/cc.

Haskell: del.icio.us tag/haskell

Tail-Recursive, Linear-Time Fibonacci | for the few of us.

fib as a fold over the natural numbers; other sweet derivation-of-programs stuff

Haskell: del.icio.us tag/haskell

Differentiating regions

"An alternative title for this post is, what is the type of differentiation? Hint: it's not quite (R→R)→(R→R), because how would you make sure the input function is differentiable?)"

Haskell: del.icio.us tag/haskell

The Worker/Wrapper Transformation

"a technique for transforming a computation of one type into a worker of a different type, together with a wrapper that acts as an impedance matcher between the original and new computations." worker can have better data structures -> faster.

Haskell: del.icio.us tag/haskell

Fixed Point Datatypes " Brain Crater

more about fixed points, recursion patterns (morphisms), etc.

Haskell: del.icio.us tag/haskell

You could have re-invented fix too!

remarkably clear explanation of the fixed-point combinator in haskell

Haskell: del.icio.us tag/haskell

Haskell Notes And Examples - Albert Y. C. Lai

including: fix, hxt arrows, forward constraint propagation, strictness flags, STArray, Cont monad examples, random numbers, and more.

Haskell: del.icio.us tag/haskell

HackageDB: Vec-0.9.1

"Vectors are represented by lists with type-encoded lengths. The constructor is :., which acts like a cons both at the value and type levels, with () taking the place of nil. So x:.y:.z:.() is a 3d vector."

Haskell: del.icio.us tag/haskell

Mathematical Pamphlet ‽ What is defunctionalization?

"Broadly, defunctionalization is transforming a program to eliminate higher-order functions."

Haskell: del.icio.us tag/haskell

Page 1 | Next >>