package caqti
Unified interface to relational database libraries
Install
Dune Dependency
Authors
Maintainers
Sources
caqti-0.10.2.tbz
sha256=d688bd22f6fde5be5a755900545fade0d5fdce6dbcb0b85770d02dad87c41e7c
md5=d18745a703da336054c0d27e78f8be8a
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)"
>