packages feed

tagged-transformer 0.3 → 0.3.1

raw patch · 8 files changed

+72/−1 lines, 8 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

+ .ghci view
@@ -0,0 +1,1 @@+:set -isrc -idist/build/autogen -optP-include -optPdist/build/autogen/cabal_macros.h
+ .gitignore view
@@ -0,0 +1,13 @@+dist+docs+wiki+TAGS+tags+wip+.DS_Store+.*.swp+.*.swo+*.o+*.hi+*~+*#
+ .travis.yml view
@@ -0,0 +1,8 @@+language: haskell+notifications:+  irc:+    channels:+      - "irc.freenode.org#haskell-lens"+    skip_join: true+    template:+      - "\x0313tagged-transformer\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}"
+ .vim.custom view
@@ -0,0 +1,31 @@+" Add the following to your .vimrc to automatically load this on startup++" if filereadable(".vim.custom")+"     so .vim.custom+" endif++function StripTrailingWhitespace()+  let myline=line(".")+  let mycolumn = col(".")+  silent %s/  *$//+  call cursor(myline, mycolumn)+endfunction++" enable syntax highlighting+syntax on++" search for the tags file anywhere between here and /+set tags=TAGS;/++" highlight tabs and trailing spaces+set listchars=tab:‗‗,trail:‗+set list++" f2 runs hasktags+map <F2> :exec ":!hasktags -x -c --ignore src"<CR><CR>++" strip trailing whitespace before saving+" au BufWritePre *.hs,*.markdown silent! cal StripTrailingWhitespace()++" rebuild hasktags after saving+au BufWritePost *.hs silent! :exec ":!hasktags -x -c --ignore src"
+ CHANGELOG.markdown view
@@ -0,0 +1,3 @@+0.3.1+-----+* Marked the package `Trustworthy`.
+ README.markdown view
@@ -0,0 +1,4 @@+tagged-transformer+==================++Monad transformer carrying an extra [phantom type](http://www.haskell.org/haskellwiki/Phantom_type) tag. 
src/Data/Functor/Trans/Tagged.hs view
@@ -3,6 +3,10 @@ {-# LANGUAGE Rank2Types #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE UndecidableInstances #-}+{-# LANGUAGE CPP #-}+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif ---------------------------------------------------------------------------- -- | -- Module     : Data.Functor.Trans.Tagged
tagged-transformer.cabal view
@@ -1,5 +1,5 @@ name:           tagged-transformer-version:        0.3+version:        0.3.1 license:        BSD3 license-file:   LICENSE author:         Edward A. Kmett@@ -12,6 +12,13 @@ description:    Provides newtype wrappers for phantom types to avoid unsafely passing dummy arguments build-type:     Simple cabal-version:  >=1.6+extra-source-files:+  .travis.yml+  .vim.custom+  .ghci+  .gitignore+  CHANGELOG.markdown+  README.markdown  source-repository head   type: git