This file is indexed.

/usr/lib/ocaml/duppy/pa_duppy.mli is in libduppy-ocaml-dev 0.5.1-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
(*****************************************************************************

  Duppy, a task scheduler for OCaml.
  Copyright 2003-2010 Savonet team

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details, fully stated in the COPYING
  file at the root of the liquidsoap distribution.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

 *****************************************************************************)

(** {2 Syntactic sugar for {!Duppy.Monad} }
  *
  * This module provides syntactic extensions to OCaml
  * using Camlp4 used to write code using {!Duppy.Monad}.
  *
  * It provides the following extensions:
  *
  * {2 Main Monad }
  * 
  * {ul
  * {- {[ duppy v = 
  *   foo
  *  in
  *  bar x ]}
  *
  * is equivalent to:
  * 
  * [Duppy.Monad.bind foo (fun x -> bar x)] 
  * 
  * }
  * {- {[ duppy_run
  *     foo
  *   with
  *     { return = f ;
  *       raise  = g } ]}
  *
  * is equivalent to:
  *
  * [Duppy.Monad.run ~return:f ~raise:g ()]
  * 
  * } 
  * {- {[ duppy_try
  *     foo
  *   with
  *     | a -> f
  *     | b -> g ]}
  *
  * is equivalent to:
  *
  * {[ Duppy.Monad.catch
  *     foo
  *     (function
  *         | a -> f
  *         | b -> g) ]} 
  * 
  * }
  * {- [duppy_fold_left] is equivalent to [Duppy.Monad.fold_left]
  *
  * }
  * {- [duppy_iter] is equivalent to [Duppy.Monad.iter]
  *
  * }
  * {- [duppy_return] is equivalent to [Duppy.Monad.return]
  *
  * }
  * {- [duppy_raise] is equivalent to [Duppy.Monad.raise]
  * 
  * }
  * {- {[ duppy_do
  *   foo ;
  *   bar ;
  *   ...
  * done ]}
  *
  * is equivalent to:
  *
  * {[ Duppy.Monad.bind
  *     (Duppy.Monad.bind 
  *       foo 
  *       (fun () -> bar))
  *     (fun () -> ...) ]}
  *
  * }}
  * 
  * {2 I/O module }
  *
  * {ul
  * {- {[duppy_exec
  *  foo
  * with
  *   { priority = p ;
  *     handler  = h 
  *     delay    = d } ]}
  *
  * is equivalent to:
  *
  * {[ Duppy.Monad.Io.exec
  *  ~priority:p ~delay:d h foo ]} 
  * 
  * [delay] is an optional field.
  *
  * }
  * {- [duppy_delay] is equivalent to [Duppy.Monad.Io.delay]}
  * {- {[duppy_read
  *  marker
  * with
  *   { priority = p ;
  *     handler  = h ;
  *     timeout  = t } ]} 
  *
  * is equivalent to:
  *
  * {[ Duppy.Monad.Io.read
  *  ~timeout:t ~priority:p h marker ]}
  *
  * Timeout parameter is optional.
  * }
  * {- {[duppy_read_all
  *  socket
  * with
  *   { priority  = p ;
  *     handler   = h ;
  *     timeout   = t } ]}
  *
  * is equivalent to:
  *
  * {[ Duppy.Monad.Io.read_all
  *  ~timeout:t ~priority:p s socket ]}
  *
  * Timeout parameter is optional.
  * }
  * {- {[duppy_write
  *  s
  * with
  *   { priority = p ;
  *     handler  = h ;
  *     timeout  = t } ]}
  *
  * is equivalent to:
  *
  * {[ Duppy.Monad.Io.write
  *  ~timeout:t ~priority:p ~string:s h ]}
  *
  * Timeout parameter is optional.
  * }
  * {- {[duppy_write_bigarray
  *  ba
  * with
  *   { priority = p ;
  *     handler  = h ;
  *     timeout  = t } ]}
  *
  * is equivalent to:
  *
  * {[ Duppy.Monad.Io.write
  *  ~timeout:t ~priority:p ~bigarray:ba h ]}
  *
  * Timeout parameter is optional.
  * }}
  *)