Name: Anonymous 2014-11-18 17:53
assembly. Is it just trollin' for /prog/, or do you actually perform your general-purpose programming in assembly? Is it really feasible to be a productive programmer by using just ASM?
{-# LANGUAGE ViewPatterns #-}
import Data.Text (uncons)
f (uncons -> Nothing) = ...
f (uncons -> Just (x, xs)) = ...