Permalink
Browse files

Updated dependencies, improved tags and ghci support

  • Loading branch information...
1 parent 9f8eb19 commit a5a85e4c96a535c356583e5a4f0dab3dd09f0145 @ekmett committed Jan 7, 2013
Showing with 48 additions and 10 deletions.
  1. +1 −0 .ghci
  2. +7 −0 .travis.yml
  3. +31 −0 .vim.custom
  4. +9 −10 adjunctions.cabal
View
1 .ghci
@@ -0,0 +1 @@
+:set -isrc -idist/build/autogen -optP-include -optPdist/build/autogen/cabal_macros.h
View
7 .travis.yml
@@ -1 +1,8 @@
language: haskell
+notifications:
+ irc:
+ channels:
+ - "irc.freenode.org#haskell-lens"
+ skip_join: true
+ template:
+ - "\x0313adjunctions\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}"
View
31 .vim.custom
@@ -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"
View
19 adjunctions.cabal
@@ -1,6 +1,6 @@
name: adjunctions
category: Data Structures, Adjunctions
-version: 3.0.0.2
+version: 3.0.1
license: BSD3
cabal-version: >= 1.6
license-file: LICENSE
@@ -36,14 +36,14 @@ library
transformers >= 0.2 && < 0.4,
mtl >= 2.0.1 && < 2.2,
containers >= 0.3 && < 0.6,
- comonad == 3.0.*,
- contravariant >= 0.2.0.1 && < 0.3,
- distributive >= 0.2.2 && < 0.4,
- semigroupoids == 3.0.*,
- void >= 0.5.5.1 && < 0.6,
- keys == 3.0.*,
- comonad-transformers == 3.0.*,
- representable-functors >= 3.0.0.1 && < 3.1
+ comonad >= 3,
+ contravariant >= 0.2.0.1,
+ distributive >= 0.2.2,
+ semigroupoids >= 3,
+ void >= 0.5.5.1,
+ keys >= 3,
+ comonad-transformers >= 3,
+ representable-functors >= 3.0.0.1
exposed-modules:
Data.Functor.Adjunction
@@ -54,4 +54,3 @@ library
Control.Monad.Trans.Contravariant.Adjoint
ghc-options: -Wall
-

0 comments on commit a5a85e4

Please sign in to comment.