package caqti
Abstraction over multiple database libraries
Install
Dune Dependency
Authors
Maintainers
Sources
caqti-0.9.0.tbz
sha256=4c84a16d983d0fed2786f536a3fa4d8fa113b8b30b4deea4a74772582d5489b2
md5=42a2e2d3b73d7fbaecc618549aad2865
doc/src/caqti.v1/caqti1_plugin.ml.html
Source file caqti1_plugin.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
(* Copyright (C) 2014--2017 Petter A. Urkedal <paurkedal@gmail.com> * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at your * option) any later version, with the OCaml static compilation exception. * * This library 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 Lesser General Public * License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this library. If not, see <http://www.gnu.org/licenses/>. *) exception Plugin_missing of string * string exception Plugin_invalid of string * string (* Because it lacks a cmxs? *) module Really_link_CalendarLib = struct include CalendarLib end let msg_invalid = "The plugin seemed to load, but did not register." let ensure_plugin extract pkg = (match extract () with | Some x -> x | None -> (match !Caqti_connect.dynload_library pkg [@warning "-3"] with | Ok () -> (match extract () with | Some x -> x | None -> raise (Plugin_invalid (pkg, msg_invalid))) | Error msg -> raise (Plugin_missing (pkg, msg))))
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>