Changes between Version 3 and Version 4 of Proposal/AbstractFilePath


Ignore:
Timestamp:
Jun 26, 2015 3:44:36 PM (4 years ago)
Author:
hvr
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Proposal/AbstractFilePath

    v3 v4  
    1 {{{#!box warning
    2 **WORK-IN-PROGRESS - NOT READY FOR PUBLICATION YET**
    3 }}}
    4 
    51= Abstract `FilePath` Proposal (AFPP)
    62
     
    113109    -- This allows to write forward-compatible code for Haskell2010 'FilePath`s
    114110    --
    115     -- E.g. code can be written like
     111    -- E.g. code can be written (assuming `-XOverloadedStrings`) like
    116112    --
    117113    -- > tarfname = basedir </> "ghc-" <> ver <> "~" <> gitid <.> "tar.xz"
     
    121117    -- NB: 'mappend' is *not* the same as '(</>)', but rather matches the semantics for pre-AFPP 'FilePaths'
    122118    instance Monoid FilePath where
     119        mempty      = <...>
    123120        mappend a b = <...string-concat...>
    124121    }}}