⚠️ Oops! This page doesn't appear to define a
type
called
_
.
Show navigation
Search
Home
Writing Documentation
Interactive Code Snippets
Page Contents
Location_
point
span
with_location
at
location
value
map
same
span
Package modules
CliToInput
InputToModel
CompilePackage
ModelToOutput
State
Other modules
Ast
Comment
Error
Helpers
Lang
Location_
Odoc_lexer
Parse_error
Parser_
Paths
Paths_types
Root
Semantics
Syntax
Token
Html_characters
Omd
Omd_backend
Omd_html
Omd_lexer
Omd_parser
Omd_representation
Omd_types
Omd_utils
Omd_xtxt
CompileCode
Markdown
MarkdownOfOCamldoc
ParseConfig
ProcessCode
Search
Tests
CmtFindDocItems
CmtFindStamps
PrepareUtils
Typing
Descartes
ElasticRaw
MakeIndex
CodeHighlight
CodeSnippets
Docs
DocsTemplate
GenerateDoc
Pretty
PrintType
Sidebar
Template
SearchScript
Commands
Files
Infix
SerializeBinary
CompileCode
Markdown
MarkdownOfOCamldoc
ParseConfig
ProcessCode
Search
Tests
CmtFindDocItems
CmtFindStamps
PrepareUtils
Typing
Descartes
ElasticRaw
MakeIndex
CodeHighlight
CodeSnippets
Docs
DocsTemplate
GenerateDoc
Pretty
PrintType
Sidebar
Template
SearchScript
Commands
Files
Infix
SerializeBinary
CmtFindDocItems
CmtFindStamps
PrepareUtils
Typing
Descartes
ElasticRaw
MakeIndex
CodeHighlight
CodeSnippets
Docs
DocsTemplate
GenerateDoc
Pretty
PrintType
Sidebar
Template
SearchScript
Commands
Files
Infix
SerializeBinary
Edit
Location_
This module does not have a toplevel documentation block.
type
point
= {line: int, column: int}
type
span
= {file: string, start:
point
, end_:
point
}
type
with_location
('a) = {location:
span
, value: 'a}
let
at
: (
span
, 'a) =>
with_location
('a)
let
location
:
with_location
('a) =>
span
let
value
:
with_location
('a) => 'a
let
map
: ('a => 'b,
with_location
('a)) =>
with_location
('b)
let
same
: (
with_location
('a), 'b) =>
with_location
('b)
let
span
: list(
span
) =>
span