-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split Caqti_prereq into Caqti_common and Caqti_common_priv.
- Loading branch information
Showing
16 changed files
with
60 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
(* Copyright (C) 2018 Petter A. Urkedal <[email protected]> | ||
(* Copyright (C) 2018--2019 Petter A. Urkedal <[email protected]> | ||
* | ||
* 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 | ||
|
@@ -14,7 +14,7 @@ | |
* along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
*) | ||
|
||
open Caqti_prereq | ||
open Caqti_common_priv | ||
|
||
module System = struct | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
(* Copyright (C) 2014--2018 Petter A. Urkedal <[email protected]> | ||
(* Copyright (C) 2014--2019 Petter A. Urkedal <[email protected]> | ||
* | ||
* 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 | ||
|
@@ -14,7 +14,7 @@ | |
* along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
*) | ||
|
||
open Caqti_prereq | ||
open Caqti_common_priv | ||
|
||
module System = struct | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
(* Copyright (C) 2014--2019 Petter A. Urkedal <[email protected]> | ||
* | ||
* 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/>. | ||
*) | ||
|
||
type counit = {absurd: 'a. 'a} | ||
|
||
let absurd {absurd} = absurd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
(* Copyright (C) 2014--2019 Petter A. Urkedal <[email protected]> | ||
* | ||
* 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/>. | ||
*) | ||
|
||
(** Prerequisites. *) | ||
|
||
type counit | ||
|
||
val absurd : counit -> 'a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
(* Copyright (C) 2014--2019 Petter A. Urkedal <[email protected]> | ||
(* Copyright (C) 2019 Petter A. Urkedal <[email protected]> | ||
* | ||
* 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 | ||
|
@@ -16,10 +16,6 @@ | |
|
||
open Printf | ||
|
||
type counit = {absurd: 'a. 'a} | ||
|
||
let absurd {absurd} = absurd | ||
|
||
let ident x = x | ||
|
||
let (%) g f x = g (f x) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
(* Copyright (C) 2014--2019 Petter A. Urkedal <[email protected]> | ||
(* Copyright (C) 2019 Petter A. Urkedal <[email protected]> | ||
* | ||
* 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 | ||
|
@@ -14,14 +14,10 @@ | |
* along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
*) | ||
|
||
(** Prerequisites. *) | ||
(** {b Internal:} Prerequisites. | ||
type counit | ||
|
||
val absurd : counit -> 'a | ||
|
||
(**/**) | ||
(* The rest are for internal use only. *) | ||
This module is ment for internal use by Caqti and may change in backwards | ||
incompatible ways between minor versions without prior notice. *) | ||
|
||
val (%) : ('b -> 'c) -> ('a -> 'b) -> 'a -> 'c | ||
val (%>) : ('a -> 'b) -> ('b -> 'c) -> 'a -> 'c | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters