package devkit

  1. Overview
  2. Docs
Development kit - general purpose library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.20261006.tar.gz
md5=a39dbbce04bd5562a9b4443daf39c582
sha512=b10104b61384b2151521b785e7f3c3250134c75eae09b42cad69bc4a22a9a5e429beb891ee87cedf376c23d9c40f09d3f71c3fd48aa35df490c0f69dc17f3242

doc/devkit.core/Devkit_core/Prelude/F1/index.html

Module Prelude.F1Source

1-argument function composition combinators that allow quickly switching to or from point-free chained function pipeline e.g. let inc s = string_of_int @@ (+) 1 @@ int_of_string s vs let inc = F1.(string_of_int @@ (+) 1 @@ int_of_string) and similarly let inc = F1.(int_of_string |> (+) 1 |> string_of_int)

Sourceval (@@) : ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
Sourceval (|>) : ('a -> 'b) -> ('b -> 'c) -> 'a -> 'c