
7 Apr
2014
7 Apr
'14
10:03 p.m.
On Sun, Apr 6, 2014 at 2:15 PM, Karl Voelker
last . splitDirectories . normalise . joinPath . (: maybeToList package) <$> getCurrentDirectory
The thing to notice is that we really want to write getCurrentDirectory : maybeToList package but the effect-typing won't let us. This kludge: let x = flip (<$>) in getCurrentDirectory `x` (: maybeToList package) restores the smile in our haskell, where 'x' can be as imperceptibly unicoded as desired. -- Kim-Ee