Commit 15751f26 authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

FastString: Add IsString instance

parent 91fd87e2
......@@ -192,6 +192,9 @@ instance Ord FastString where
| otherwise = y
compare a b = cmpFS a b
instance IsString FastString where
fromString = fsLit
instance Monoid FastString where
mempty = nilFS
mappend = appendFS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment