package ppxlib

  1. Overview
  2. Docs
Standard library for ppx rewriters

Install

Dune Dependency

Authors

Maintainers

Sources

ppxlib-0.25.1.tbz
sha256=a51b3868029e62ff14a0f2bd8d278dacfc0c3fc5b22d484a296be90c53e4ffd7
sha512=6a6d9af49344e901cc9e6da7bcf38c2973705c8cee4cff1c64c0393e9ccc55a6abec1f58d5b56d0807939a3741bec722ee7bfc244f94619167a30438f182488a

doc/src/ppxlib.astlib/migrate_414_500.ml.html

Source file migrate_414_500.ml

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
36
37
38
39
40
module From = Ast_414
module To = Ast_500

let copy_structure : Ast_414.Parsetree.structure -> Ast_500.Parsetree.structure
    =
 fun x -> x

let copy_signature : Ast_414.Parsetree.signature -> Ast_500.Parsetree.signature
    =
 fun x -> x

let copy_toplevel_phrase :
    Ast_414.Parsetree.toplevel_phrase -> Ast_500.Parsetree.toplevel_phrase =
 fun x -> x

let copy_core_type : Ast_414.Parsetree.core_type -> Ast_500.Parsetree.core_type
    =
 fun x -> x

let copy_expression :
    Ast_414.Parsetree.expression -> Ast_500.Parsetree.expression =
 fun x -> x

let copy_pattern : Ast_414.Parsetree.pattern -> Ast_500.Parsetree.pattern =
 fun x -> x

let copy_case : Ast_414.Parsetree.case -> Ast_500.Parsetree.case = fun x -> x

let copy_type_declaration :
    Ast_414.Parsetree.type_declaration -> Ast_500.Parsetree.type_declaration =
 fun x -> x

let copy_type_extension :
    Ast_414.Parsetree.type_extension -> Ast_500.Parsetree.type_extension =
 fun x -> x

let copy_extension_constructor :
    Ast_414.Parsetree.extension_constructor ->
    Ast_500.Parsetree.extension_constructor =
 fun x -> x
OCaml

Innovation. Community. Security.