File: obuild.t

package info (click to toggle)
ocp-indent 1.9.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,008 kB
  • sloc: ml: 3,573; lisp: 113; sh: 68; makefile: 3
file content (25 lines) | stat: -rw-r--r-- 537 bytes parent folder | download
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

  $ cat > obuild.ml << "EOF"
  > type predicate =
  >     Pred_Byte
  >   | Pred_Native
  >   | Pred_Toploop
  > 
  > let _ =
  >   { pkg with
  >       package_version = projFile.version
  >     ; package_description = _
  >     ; package_requires = [] }
  > EOF

  $ ocp-indent -c base=2,type=2,match_clause=4,with=2 obuild.ml
  type predicate =
      Pred_Byte
    | Pred_Native
    | Pred_Toploop
  
  let _ =
    { pkg with
        package_version = projFile.version
      ; package_description = _
      ; package_requires = [] }