-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune-project
35 lines (29 loc) · 912 Bytes
/
dune-project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
(lang dune 2.5)
(generate_opam_files true)
(package
(name ppx_deriving_madcast)
(version 0.2)
(tags (syntax))
(synopsis "Library deriving cast functions based on their types")
(description
"\| This package provides a PPX that allows to derive cast functions based
"\| on their types.
"\|
"\| For instance, `[%madcast: ('a * string) -> ('a * int)]` would be replaced by:
"\|
"\| fun (x, y) ->
"\| (x,
"\| try int_of_string y
"\| with Failure _ -> failwith \"madcast: string -> int\")
)
(source (github LesBoloss-es/ppx_deriving_madcast))
(license LGPL-3.0-or-later)
(authors "Kerl <[email protected]>" "Niols <[email protected]>")
(maintainers "Niols <[email protected]>")
(depends
(dune (and :build (>= "2.5")))
(ocaml (>= "4.05.0"))
(odoc :with-test)
(ppx_deriving (and :build (>= "5.0")))
(ppxlib (>= "0.15.0"))
))