• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • async_ssl
  • Documentation
  • async_ssl lib
  • Async_ssl .Import Module
package async_ssl
  • async_ssl
    • Async_ssl
      • Config
        • Client
        • Server
      • Ffi_generated
      • Ffi_generated_types
      • Import
        • Bindings
          • ASN1_object
          • ASN1_string
          • Bignum
          • Bio
          • Ctypes
            • FOREIGN
            • TYPE
              • Intptr
                • Infix
              • Ptrdiff
                • Infix
              • Uintptr
                • Infix
          • Dh
            • Struct
          • Ec_key
          • Engine
          • Progress_callback
          • Rsa
          • Ssl
            • Tmp_dh_callback
            • Tmp_rsa_callback
          • Ssl_ctx
          • Ssl_method
          • Ssl_session
          • X509
          • X509_name
          • X509_name_entry
        • Types
          • Ssl_error
          • Ssl_op
          • Verify_mode
          • Verify_result
          • X509_filetype
      • Initialize
      • Opt
      • Rfc3526
      • Ssl
        • Certificate
        • Connection
        • For_testing
        • Opt
        • Session
        • Verify_mode
        • Version
      • Std
      • Tls
        • Expert
        • For_testing
      • Verify_mode
      • Version
  • async_ssl.bindings
    • Async_ssl_bindings
      • Ctypes_foreign_flat
      • Ffi_bindings
        • Bignum
        • Bindings
          • 1-F
          • ASN1_object
          • ASN1_string
          • Bignum
          • Bio
          • Ctypes
          • Dh
            • Struct
          • Ec_key
          • Engine
          • Rsa
          • Ssl
          • Ssl_ctx
          • Ssl_method
          • Ssl_session
          • X509
          • X509_name
          • X509_name_entry
        • Dh
        • Progress_callback
        • Rsa
        • Ssl
        • Tmp_dh_callback
        • Tmp_rsa_callback
        • Types
          • 1-F
            • Intptr
              • Infix
            • Ptrdiff
              • Infix
            • Uintptr
              • Infix
          • Ssl_error
          • Ssl_op
          • Verify_mode
          • Verify_result
          • X509_filetype
        • Voidp
          • 1-T
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Types : sig ... end
module Bindings : sig ... end
val verbose : bool
val iter_while_rev : 'a. iter:( unit -> 'a ) -> cond:( 'a -> bool ) -> 'a list

Iterate a function while another function is true.

Results are collected in reverse order for performance. Use List.rev if you need results in the order they were produced.

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