package strymonas-pure

  1. Overview
  2. Docs

Parameters

module C : cde_ex
module Raw : sig ... end

Signature

module Raw : sig ... end
type 'a stream = 'a Raw.stream
type 'a cstream = 'a C.exp stream
val of_arr : 'a C.arr -> 'a cstream
val of_static_arr : 'a C.tbase -> ('b -> 'a C.exp) -> 'b array -> 'a cstream
val of_int_array : int array -> int cstream
val of_float_array : float array -> C.F64.t cstream
val iota : int C.exp -> int cstream
val from_to : ?step:int -> int C.exp -> int C.exp -> int cstream
module Desc : sig ... end
val fold_ : ('z, 'b) Desc.desc -> ('z -> 'a -> 'z) -> 'z -> ('z -> 'w C.stm) -> 'a stream -> 'w C.stm
val fold : ('z C.exp -> 'a C.exp -> 'z C.exp) -> 'z C.exp -> 'a cstream -> 'z C.stm
val iter : ('a -> unit C.stm) -> 'a stream -> unit C.stm
val find_first : ('a C.exp -> bool C.exp) -> 'a C.exp -> 'a cstream -> 'a C.stm
val sum_int : int cstream -> int C.stm
val sum_int_long : int cstream -> C.I64.t C.stm
val average_int : int cstream -> C.F64.t C.stm
val count : 'a stream -> int C.stm
val map : ('a C.exp -> 'b C.exp) -> 'a cstream -> 'b cstream
val flat_map : ('a C.exp -> 'b stream) -> 'a cstream -> 'b stream
val filter : ('a C.exp -> bool C.exp) -> 'a cstream -> 'a cstream
val take : int C.exp -> 'a stream -> 'a stream
val map_accum : ('z C.exp -> 'a C.exp -> ('z C.exp -> 'b C.exp -> unit C.stm) -> unit C.stm) -> 'z C.exp -> 'a cstream -> 'b cstream
val drop : int C.exp -> 'a stream -> 'a stream
val drop_while : ('a C.exp -> bool C.exp) -> 'a cstream -> 'a cstream
val take_while : ('a C.exp -> bool C.exp) -> 'a cstream -> 'a cstream
val zip_with : ('a C.exp -> 'b C.exp -> 'c C.exp) -> 'a cstream -> 'b cstream -> 'c cstream
val scan : ('z C.exp -> 'a C.exp -> 'z C.exp) -> 'z C.exp -> 'a cstream -> 'z cstream
OCaml

Innovation. Community. Security.