Pages

Categories
 abstraction AC algorithm announcement applicative art axiom of choice Beeminder Bell numbers BlogLiterately category category theory collaborative editing combinatorial combinatorial species combinatorics constraints constructive cycles darcs data diagrams dissertation drawing DSL EDSL feedback FringeDC functional functional programming functor GHC ghci grad school graphics hackathon Hac φ haskell ICFP isomorphism knowledge library list lists monad Monad.Reader monads monoid monoids multiset music partitions patch theory pedagogy Philadelphia pictures preorder productivity programming QuickCheck reading release species talk text theory translation tutorial typelevel type classes Typeclassopedia types unique UPenn xmonad
Archives
 August 2014 (3)
 June 2014 (2)
 May 2014 (2)
 January 2014 (2)
 October 2013 (1)
 August 2013 (1)
 July 2013 (1)
 May 2013 (1)
 April 2013 (3)
 March 2013 (2)
 January 2013 (2)
 December 2012 (2)
 November 2012 (4)
 October 2012 (3)
 August 2012 (4)
 July 2012 (5)
 June 2012 (1)
 March 2012 (1)
 January 2012 (1)
 November 2011 (4)
 October 2011 (3)
 September 2011 (2)
 August 2011 (2)
 July 2011 (2)
 June 2011 (1)
 May 2011 (6)
 April 2011 (2)
 March 2011 (1)
 February 2011 (3)
 January 2011 (1)
 December 2010 (2)
 November 2010 (3)
 October 2010 (1)
 September 2010 (1)
 August 2010 (3)
 July 2010 (2)
 June 2010 (3)
 May 2010 (3)
 April 2010 (3)
 March 2010 (2)
 February 2010 (1)
 January 2010 (1)
 December 2009 (2)
 October 2009 (3)
 September 2009 (2)
 August 2009 (4)
 July 2009 (7)
 June 2009 (1)
 May 2009 (2)
 April 2009 (1)
 March 2009 (2)
 February 2009 (3)
 January 2009 (3)
 December 2008 (2)
 September 2008 (2)
 August 2008 (1)
 July 2008 (3)
 June 2008 (1)
 April 2008 (4)
 March 2008 (4)
 February 2008 (4)
 January 2008 (2)
 December 2007 (4)
 October 2007 (2)
 September 2007 (2)
 August 2007 (3)
 June 2007 (2)
Top Posts
Blogroll
Fun
Personal
Meta
Category Archives: math
Themes on Streams, Part II
In a previous post I claimed that comonad structures on R > a are in onetoone correspondence with monoid structures on R. In this post and the next I’ll justify that claim. Characterizing comonads on R > a Suppose we … Continue reading
Posted in haskell, math
Tagged comonad, free theorem, functor, parametricity, representable
2 Comments
Themes on Streams
> {# LANGUAGE DeriveFunctor, FlexibleInstances #} Recall that a stream is a countably infinite sequence of values: > data Stream a = a :> Stream a > deriving (Functor, Show) > > sHead (a :> _) = a > sTail … Continue reading
Math.OEIS needs a new maintainer
Summary: the OEIS has switched servers and the oeis package needs updating to match, so I’m looking for someone to take over development. All the rest is padding in the form of entertaining stories. Recently, Michael Snoyman’s wonderful packdeps tool … Continue reading
Things I have learned about vector spaces
Work on the diagrams library is coming along rather nicely. I’ll have more to say about it soon, but for now here are two things I have learned recently: Normals transform as the inverse transpose (see Subject 5.27). Be very … Continue reading
Species and Functors and Types, Oh My!
My paper on combinatorial species and the species library (an improved version of my previous ICFP submission) has been accepted to the 2010 Haskell Symposium! I look forward to seeing people in Baltimore in September, and in the meantime the … Continue reading
Posted in combinatorics, haskell, math, writing
Tagged 2010, combinatorics, haskell, paper, species, symposium
2 Comments
Math.Combinatorics.Multiset and Sawada’s algorithm
I’ve uploaded a new version of my Math.Combinatorics.Multiset library (see the previous announcement here). I’ve added a few more fairly simple algorithms (splitting a multiset into two pieces in all possible ways; finding all sizek submultisets of a multiset), and … Continue reading