• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • spin
  • Documentation
  • spin lib
  • Spin .Template_expr Module
package spin
  • spin
    • Spin
      • Config
      • Dec_common
        • Git_repo
          • Errors
        • Make_valid_string
          • 1-M
          • Errors
        • Source
        • Template_name
          • Errors
      • Dec_project
        • Config
          • Errors
      • Dec_template
        • Actions
        • Base_template
          • Errors
        • Configuration
        • Description
        • Example_command
        • Example_commands
        • Expr
        • Ignore_rule
        • Parse_binaries
        • Raw_files
      • Dec_user_config
      • Decoder
        • Infix
        • Syntax
      • Encoder
      • File_generator
      • Git_template
      • Helpers
      • Local_template
      • Official_template
      • Pp
      • Refmt
      • Spawn
      • Spin_error
      • Template
      • Template_actions
      • Template_configuration
      • Template_expr
      • User_config
  • spin.ansi
    • Ansi
  • spin.inquire
    • Inquire
      • Style
  • spin.std
    • Spin_std
      • Filename
      • Glob
      • Hashtbl
        • HashedType
        • Make
          • 1-H
        • MakeSeeded
          • 1-H
        • S
        • SeededHashedType
        • SeededS
      • List
      • Result
        • List
        • Syntax
      • Spawn
      • String
      • Sys
        • Immediate64
          • Immediate
          • Make
            • 1-Immediate
            • 2-Non_immediate
          • Non_immediate
  • spin.template
    • Spin_template
      • Template
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Invalid_expr of string
val eval : context:( string, Spin_std.String.t ) Spin_std.Hashtbl.t -> Dec_template.Expr.t -> Spin_std.String.t
val eval_fn : context:( string, Spin_std.String.t ) Spin_std.Hashtbl.t -> Dec_template.Expr.func -> Spin_std.String.t
val to_bool : context:( string, Spin_std.String.t ) Spin_std.Hashtbl.t -> Dec_template.Expr.t -> bool
val to_result : context:'a -> ( context:'b -> 'c -> 'd ) -> 'e -> ( 'f, Spin_error.t ) result
val filter_map : context:( string, Spin_std.String.t ) Spin_std.Hashtbl.t -> condition:( 'a -> Dec_template.Expr.t option ) -> ( 'b -> 'c ) -> 'd list -> ( 'e list, Spin_error.t ) result

Footer

OCaml

Innovation. Community. Security.

GitHub Discord Twitter Peertube RSS

About Us

  • Industrial Users
  • Academic Users
  • Why OCaml

Resources

  • Get Started
  • Language Docs
  • Books
  • Releases

Community

  • Blog
  • Jobs

Policies

  • Carbon Footprint
  • Governance
  • Privacy
  • Code of Conduct