diff options
author | lukasepple <git@lukasepple.de> | 2015-11-03 17:10:21 +0100 |
---|---|---|
committer | lukasepple <git@lukasepple.de> | 2015-11-03 17:10:21 +0100 |
commit | 6e609884d03a4907ab10a0770f3d081141517fa8 (patch) | |
tree | 6376da06a1198b5a2a5e8a3fa2451936d8accc8a | |
parent | e1647328a634e44dbcbd84a53db045a788cdf051 (diff) |
Pointfree for the win!
-rw-r--r-- | src/Text/Emoji/String.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Emoji/String.hs b/src/Text/Emoji/String.hs index eb273f6..6a44828 100644 --- a/src/Text/Emoji/String.hs +++ b/src/Text/Emoji/String.hs @@ -11,4 +11,4 @@ import Codec.Binary.UTF8.Light (w2c) -- | Outputs a String for the given Emoji. fromEmoji :: Emoji -> String -fromEmoji e = map w2c $ _code e +fromEmoji = map w2c . _code |