Skip to content

Instantly share code, notes, and snippets.

View shhyou's full-sized avatar
💭
Alive

shuhung shhyou

💭
Alive
View GitHub Profile
@shhyou
shhyou / Warning.hs
Last active August 29, 2015 14:13 — forked from favonia/Warning.hs
-- released under CC0 by favonia
import System.Environment
fix f = let lfp = f lfp in lfp
quotes :: [String -> String]
quotes = map q $ cycle [("「", "」"), ("『", "』")]
where q (l,r) str = l ++ str ++ r