Skip to content

Instantly share code, notes, and snippets.

MonadCatchIO-transformers (not present) depended on by:
- [ ] hdocs-0.4.4.0 (>=0.3.0). Alexandr Ruchkin voidex@live.com @mvoidex. @mvoidex
- [ ] heist-0.14.1.1 (>=0.2.1 && < 0.4). No maintainer. @mightybyte
- [ ] http-streams-0.8.3.3 (-any). Andrew Cowie <andrew@operationaldynamics.com> @afcowie. @afcowie
- [ ] snap-0.14.0.6 (>=0.2 && < 0.4). No maintainer. @mightybyte
- [ ] snap-core-0.9.8.0 (>=0.2.1 && < 0.4). No maintainer. @mightybyte
- [ ] snap-server-0.9.5.1 (>=0.2.1 && < 0.4). No maintainer. @mightybyte
@bergmark
bergmark / curator.txt
Last active March 11, 2016 11:03
stackage & GHC 8 @ 2016-03-11
HUnit-1.3.1.1 is out of bounds for:
- [ ] deepseq-1.4.1.2 (==1.2.*). No maintainer. @haskell
QuickCheck-2.8.2 is out of bounds for:
- [ ] bytestring-0.10.6.0 (>=2.4 && < 2.7). No maintainer. @haskell
binary-0.8.2.1 is out of bounds for:
- [ ] Cabal-ide-backend-1.23.0.0 (==0.7.*). No maintainer. @haskell
- [ ] Network-NineP-0.4.0 (>=0.5.1.0 && < 0.8). Sergey Alirzaev <zl29ah@gmail.com>. @l29ah
- [ ] approximate-0.2.2.3 (>=0.5 && < 0.8). Edward Kmett <ekmett@gmail.com>. @ekmett
@bergmark
bergmark / gist:14aa76448fd7e4ea4f4b676a9ba54856
Created June 7, 2016 09:17
rethinkdb-client-driver build log
V~> ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.10.3
V~> cd repos/trustee/
V~/r/trustee> mkdir rethinkdb-client-driver
V~/r/trustee> cd rethinkdb-client-driver/
V~/r/t/rethinkdb-client-driver> cabal sandbox init
Writing a default package environment file to
/Users/adam/repos/trustee/rethinkdb-client-driver/cabal.sandbox.config
Creating a new sandbox at
/Users/adam/repos/trustee/rethinkdb-client-driver/.cabal-sandbox
adam.bergmark ~/r/3/r/reedsolomon-0.0.4.1 /master $ stack haddock -v
Version 1.2.0 x86_64 hpack-0.14.0
2016-09-25 13:29:57.814359: [debug] Checking for project config at: /Users/adam.bergmark/repos/3rd/reedsolomon-0.0.4.1/reedsolomon-0.0.4.1/stack.yaml
@(Stack/Config.hs:792:9)
2016-09-25 13:29:57.815524: [debug] Loading project config file stack.yaml
@(Stack/Config.hs:810:13)
2016-09-25 13:29:57.817141: [debug] Trying to decode /Users/adam.bergmark/.stack/build-plan-cache/x86_64-osx/lts-7.0.cache
@(Data/Store/VersionTagged.hs:68:5)
2016-09-25 13:29:57.826950: [debug] Success decoding /Users/adam.bergmark/.stack/build-plan-cache/x86_64-osx/lts-7.0.cache
@(Data/Store/VersionTagged.hs:72:13)
./Data/Aeson/TH.hs:549:1: Warning: Eta reduce
Found:
(<^>) a b = infixApp a [| (E.><) |] b
Why not:
(<^>) a = infixApp a [| (E.><) |]
./Data/Aeson/TH.hs:1632:40: Suggestion: Use infix
Found:
union droppedKindVarNames kvNames'
Why not:
trait AbstractResource[T] {
val version: String
type Foo
implicit def self: this.type = this
}
object MyResource extends AbstractResource[MyResource] {
override final val version = "v3"
override type Foo = Int
}
data Vect : (n: Nat) -> (elem : Type) -> Type where
Empty : Vect 0 elem
OneAnd : elem -> Vect n elem -> Vect (S n) elem
showString : Show elem => Vect n elem -> String
showString Empty = ""
showString (OneAnd x y) = show x ++ showString y
Show elem => Show (Vect n elem) where
show = showString
trait Foo[A]
object A {
implicit val foo: Foo[Int] = new Foo[Int] {}
}
object B {
implicit val foo: Foo[String] = new Foo[String] {}
}
object C {
#!/usr/bin/env scala
trait DbRep[A] {
type Rep
}
class Email
object EmailRep extends DbRep[Email] {
override type Rep = String
}
#!/usr/bin/env scala
trait DbRep[A] {
type Rep
}
class Email
object EmailRep extends DbRep[Email] {
override type Rep = String
}