package mirage
The MirageOS library operating system
Install
dune-project
Dependency
Authors
Maintainers
Sources
mirage-4.10.0.tbz
sha256=795cc176ffbc67363d4c4ef69354aced9681c0b1e24bf93f0a270975ee0b608b
sha512=96a2fb3971613b146371a02af1ce59c73ca86dd1f42c0c47334bfbabe7d5f4cffb080c2c585e2e21fe3d33133bbe86b703cb9d276dd86ce3a90a544f03293af5
doc/src/mirage.functoria/DSL.ml.html
Source file DSL.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 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
(* * Copyright (c) 2013-2020 Thomas Gazagnaire <thomas@gazagnaire.org> * Copyright (c) 2013-2020 Anil Madhavapeddy <anil@recoil.org> * Copyright (c) 2015-2020 Gabriel Radanne <drupyog@zoho.com> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *) type 'a key = 'a Key.key type 'a runtime_arg = 'a Runtime_arg.arg type 'a value = 'a Key.value type abstract_key = Key.t type package = Package.t type scope = Package.scope type 'a typ = 'a Type.t type 'a impl = 'a Impl.t type abstract_impl = Impl.abstract type 'a device = ('a, Impl.abstract) Device.t type context = Context.t type job = Job.t type info = Info.t type 'a code = 'a Device.code let code = Device.code let package = Package.v let ( @-> ) = Type.( @-> ) let typ = Type.v let ( $ ) = Impl.( $ ) let of_device = Impl.of_device let key = Key.v let dep = Impl.abstract let if_impl = Impl.if_ let match_impl = Impl.match_ let impl ?packages ?packages_v ?local_libs ?install ?install_v ?keys ?runtime_args ?extra_deps ?connect ?dune ?configure ?files module_name module_type = of_device @@ Device.v ?packages ?packages_v ?local_libs ?install ?install_v ?keys ?runtime_args ?extra_deps ?connect ?dune ?configure ?files module_name module_type let main ?pos ?packages ?packages_v ?local_libs ?runtime_args ?deps module_name ty = let connect _ = Device.start ?pos in let extra_deps = if Type.is_functor ty then deps else match deps with | None | Some [] -> print_endline "adding unit argument to 'start ()' (to delay execution)"; Some [ dep Job.noop ] | _ -> deps in impl ?packages ?packages_v ?local_libs ?runtime_args ?extra_deps ~connect module_name ty let runtime_arg ~pos ?packages str = Runtime_arg.v (Runtime_arg.create ~pos ?packages str)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>