diff options
author | tv <tv@shackspace.de> | 2015-06-26 23:02:09 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-06-26 23:02:09 +0200 |
commit | bfd854e05207a073eaa983c49f27c37555ccfce5 (patch) | |
tree | f932957a7180423f4fc387a12d17b251c0b67684 /Trammel.hs | |
parent | cd4a939f40b41ef624fca9615d9fa285d5046e29 (diff) |
bump compatibility to nixos-15.06pre64030.e1af50c
Diffstat (limited to 'Trammel.hs')
-rw-r--r-- | Trammel.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -97,7 +97,7 @@ instance IsPm Bold where toPm NoBold = [22] fromPm = rec . filterPm sgrColor where - rec xs = case filter (`elem`[1,22]) xs of + rec xs = case filter (`elem` ([1,22] :: [Int])) xs of [] -> Nothing xs' -> case last xs' of 1 -> Just Bold @@ -113,7 +113,7 @@ instance IsPm Underline where toPm NoUnderline = [24] fromPm = rec . filterPm sgrColor where - rec xs = case filter (`elem`[4,24]) xs of + rec xs = case filter (`elem` ([4,24] :: [Int])) xs of [] -> Nothing xs' -> case last xs' of 1 -> Just Underline |