forked from roddyyaga/ppx_rapper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6984748
commit d51ad5e
Showing
9 changed files
with
69 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
(library | ||
(name examples_lwt) | ||
(libraries lwt ppx_rapper_lwt) | ||
(libraries lwt ppx_rapper_lwt caqti-lwt.unix) | ||
(preprocess | ||
(pps ppx_rapper))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(library | ||
(name ppx_rapper_eio) | ||
(public_name ppx_rapper_eio) | ||
(wrapped false) | ||
(libraries ppx_rapper.runtime caqti-eio.unix caqti)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
include Rapper.Make_helper (struct | ||
type +'a t = 'a | ||
|
||
let return = Fun.id | ||
let map : ('a -> 'b) -> 'a -> 'b = fun f t -> f t | ||
|
||
module Stream = Caqti_eio.Stream | ||
end) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include | ||
Rapper.RAPPER_HELPER | ||
with type 'a future := 'a | ||
and module Stream = Caqti_eio.Stream |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
version: "3.1.0" | ||
synopsis: "EIO support for ppx_rapper" | ||
maintainer: ["Roddy MacSween <github@roddymacsween.co.uk>"] | ||
authors: ["Roddy MacSween <github@roddymacsween.co.uk>"] | ||
license: "MIT" | ||
homepage: "https://github.com/roddyyaga/ppx_rapper" | ||
doc: "https://github.com/roddyyaga/ppx_rapper" | ||
bug-reports: "https://github.com/roddyyaga/ppx_rapper/issues" | ||
depends: [ | ||
"dune" {>= "2.0"} | ||
"ocaml" {>= "4.07"} | ||
"ppx_rapper" {= version} | ||
"caqti-eio" | ||
"eio" | ||
"caqti-type-calendar" {with-test} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/roddyyaga/ppx_rapper.git" |