ATSLIB/prelude/fcontainer

This package contains common functions operating on functional containers.


  • foreach$fwork
  • foreach
  • foldleft$fwork
  • foldleft
  • foldright$fwork
  • foldright
  • forall$pred
  • forall
  • exists$pred
  • exists
  • rlistize

  • foreach$fwork

    Synopsis

    fun{x:t0p} foreach$fwork (x: x): void

    foreach

    Synopsis

    fun{xs:t0p}{x:t0p} foreach (xs: xs): void

    foldleft$fwork

    Synopsis

    fun{
    x:t0p}{res:vt0p
    } foldleft$fwork
      (res: res, x: x): res

    foldleft

    Synopsis

    fun{
    xs:t0p}{x:t0p}{res:vt0p
    } foldleft (xs: xs, ini: res): res

    foldright$fwork

    Synopsis

    fun{
    x:t0p}{res:vt0p
    } foldright$fwork
      (x: x, res: res): res

    foldright

    Synopsis

    fun{
    xs:t0p}{x:t0p}{res:vt0p
    } foldright (xs: xs, snk: res): res

    forall$pred

    Synopsis

    fun{x:t0p} forall$pred (x: x): bool

    forall

    Synopsis

    fun{xs:t0p}{x:t0p} forall (xs: xs): bool

    exists$pred

    Synopsis

    fun{x:t0p} exists$pred (x: x): bool

    exists

    Synopsis

    fun{xs:t0p}{x:t0p} exists (xs: xs): bool

    rlistize

    Synopsis

    fun{
    xs:t0p}{x:t0p
    } rlistize (xs: xs):<> List0_vt (x)

    This page is created with ATS by Hongwei Xi and also maintained by Hongwei Xi. SourceForge.net Logo