• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Searching...
    Or go to: Standard Library API
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • mirage-block-lwt

  • Documentation
  • mirage-block-lwt lib
  • Mirage_block_lwt .Fold Module
ON THIS PAGE
  • Fold over the bytes of a block device
  • Parameters
  • Signature
package mirage-block-lwt
  • mirage-block-lwt
    • Mirage_block_compare
      • Compare
        • Dest
        • From
    • Mirage_block_copy
      • Copy
        • Dest
        • From
        • From_seekable
        • Sparse_copy
      • Make_seekable
        • B
      • Sparse_copy
        • Dest
        • From
    • Mirage_block_iter
      • Fast_fold
        • Seekable
      • Fold
        • Block
    • Mirage_block_log
      • Log
    • Mirage_block_lwt
      • Compare
        • A
        • B
      • Copy
        • A
        • B
      • Fast_fold
        • A
      • Fill
        • A
      • Fold
        • A
      • Make_safe
        • B
      • Mem
      • RESIZABLE
      • S
      • SEEKABLE
      • Sparse_copy
        • A
        • B
    • Mirage_block_lwt_s
      • RESIZABLE
      • S
      • SEEKABLE
    • Mirage_block_mem
      • Int64Map
    • Mirage_block_patterns
      • Fill
        • Block
    • Mirage_block_safe
      • Make
        • B
Legend:
Library
Module
Module type
Parameter
Class
Class type

Fold over the bytes of a block device

Parameters

module A : S

Signature

val s : f:('a -> int64 -> Cstruct.t -> 'a Lwt.t) -> 'a -> A.t -> ('a, A.error) Pervasives.result Lwt.t

Folds f across blocks read sequentially from a block device

ON THIS PAGE
  • Fold over the bytes of a block device
  • Parameters
  • Signature

Footer

OCaml

Innovation. Community. Security.

GitHub Discord Twitter Peertube RSS

About Us

  • Industrial Users
  • Academic Users
  • Why OCaml

Resources

  • Get Started
  • Language Manual
  • Standard Library API
  • Books
  • Releases

Community

  • Blog
  • Jobs

Policies

  • Carbon Footprint
  • Governance
  • Privacy
  • Code of Conduct