Skip to content

Commit

Permalink
Replace deprecated CamomileLibraryDyn with CamomileLibraryDefault for…
Browse files Browse the repository at this point in the history
… camomile >= 1.0.0
  • Loading branch information
ncihnegn authored and jeremiedimino committed Jun 1, 2018
1 parent f779366 commit 3df6e4c
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion examples/editor.ml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* This file is a part of Lambda-Term.
*)

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile
open Lwt

let main () =
Expand Down
2 changes: 1 addition & 1 deletion examples/read_yes_no.ml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ open Lwt

let rec read_char term =
LTerm.read_event term >>= function
| LTerm_event.Key { LTerm_key.code = LTerm_key.Char ch; LTerm_key.control = true ; _ } when ch = CamomileLibraryDyn.Camomile.UChar.of_char 'c' ->
| LTerm_event.Key { LTerm_key.code = LTerm_key.Char ch; LTerm_key.control = true ; _ } when ch = CamomileLibraryDefault.Camomile.UChar.of_char 'c' ->
(* Exit on Ctrl+C *)
Lwt.fail (Failure "interrupted")
| LTerm_event.Key { LTerm_key.code = LTerm_key.Char ch ; _ } ->
Expand Down
2 changes: 1 addition & 1 deletion examples/shell.ml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

(* A mini shell *)

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile
open React
open Lwt
open LTerm_style
Expand Down
2 changes: 1 addition & 1 deletion src/lTerm.ml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* This file is a part of Lambda-Term.
*)

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile
open Lwt_react
open LTerm_geom

Expand Down
2 changes: 1 addition & 1 deletion src/lTerm_buttons_impl.ml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* This file is a part of Lambda-Term.
*)

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile
open LTerm_geom
open LTerm_key
open LTerm_mouse
Expand Down
2 changes: 1 addition & 1 deletion src/lTerm_draw.ml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* This file is a part of Lambda-Term.
*)

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile
open LTerm_geom

let unsafe_get matrix line column =
Expand Down
2 changes: 1 addition & 1 deletion src/lTerm_edit.ml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* This file is a part of Lambda-Term.
*)

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile
open Zed_edit
open LTerm_key
open LTerm_geom
Expand Down
2 changes: 1 addition & 1 deletion src/lTerm_history.ml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* This file is a part of Lambda-Term.
*)

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile

let return, (>>=) = Lwt.return, Lwt.(>>=)

Expand Down
2 changes: 1 addition & 1 deletion src/lTerm_inputrc.mll
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*)

{
open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile
open LTerm_key

let return, (>>=) = Lwt.return, Lwt.(>>=)
Expand Down
2 changes: 1 addition & 1 deletion src/lTerm_key.ml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module String = struct
include String
end

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile

type code =
| Char of UChar.t
Expand Down
2 changes: 1 addition & 1 deletion src/lTerm_read_line.ml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* This file is a part of Lambda-Term.
*)

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile
open Lwt_react
open LTerm_geom
open LTerm_style
Expand Down
2 changes: 1 addition & 1 deletion src/lTerm_text.ml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* This file is a part of Lambda-Term.
*)

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile
open LTerm_style

type t = (UChar.t * LTerm_style.t) array
Expand Down
2 changes: 1 addition & 1 deletion src/lTerm_unix.ml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* This file is a part of Lambda-Term.
*)

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile
open LTerm_key

let return, (>>=), (>|=) = Lwt.return, Lwt.(>>=), Lwt.(>|=)
Expand Down
2 changes: 1 addition & 1 deletion src/lTerm_unix.mli
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

(** Unix specific functions *)

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile

val sigwinch : int option
(** The number of the signal used to indicate that the terminal size
Expand Down
2 changes: 1 addition & 1 deletion src/lTerm_widget.ml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* This file is a part of Lambda-Term.
*)

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile
open LTerm_geom
open LTerm_draw

Expand Down
2 changes: 1 addition & 1 deletion src/lTerm_windows.ml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* This file is a part of Lambda-Term.
*)

open CamomileLibraryDyn.Camomile
open CamomileLibraryDefault.Camomile

let (>|=) = Lwt.(>|=)

Expand Down

0 comments on commit 3df6e4c

Please sign in to comment.