package functoria
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A DSL to organize functor applications
Install
dune-project
Dependency
Authors
Maintainers
Sources
mirage-4.0.0.tbz
sha256=f804161872de6cf20699364f09d03370ed06aafffb12f1d586190832c73a194d
sha512=75c1c1cac4c6f862c0055381c7ced123785193234b40da8a8e238cb289cba1a4494378587c4edf2ed872aee7fbfc756f84087941c1037ac19cbd1733ff6cca6a
doc/src/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(* * 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 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 = Key.context type job = Job.t type info = Info.t 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 abstract = dep let if_impl = Impl.if_ let match_impl = Impl.match_ let impl ?packages ?packages_v ?install ?install_v ?keys ?extra_deps ?connect ?dune ?configure ?files module_name module_type = of_device @@ Device.v ?packages ?packages_v ?install ?install_v ?keys ?extra_deps ?connect ?dune ?configure ?files module_name module_type let main ?packages ?packages_v ?keys ?extra_deps module_name ty = let connect _ = Device.start in impl ?packages ?packages_v ?keys ?extra_deps ~connect module_name ty let foreign ?packages ?packages_v ?keys ?deps module_name ty = main ?packages ?packages_v ?keys ?extra_deps:deps module_name ty
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>