val map: ('a -> ML 'b) -> option 'a -> ML (option 'b)
let map f = function
  | Some x -> Some (f x)
  | None -> None
val map: ('a -> ML 'b) -> option 'a -> ML (option 'b)
let map f =
function
| Some x -> Some (f x)
| None -> None
FStar.Option.fst.checked
prims.fst.checked FStar.Pervasives.Native.fst.checked FStar.Pervasives.fsti.checked FStar.All.fst.checked
FStar.Option.fst
FStar.Pervasives.Native.option FStar.Pervasives.Native.Some FStar.Pervasives.Native.None
(*
   Copyright 2008-2014 Nikhil Swamy and Microsoft Research

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*)
module FStar.Option

open FStar.All

inline_for_extraction
val isNone: option 'a -> Tot bool
inline_for_extraction
let isNone = function
  | None -> true
  | Some _ -> false

inline_for_extraction
val isSome: option 'a -> Tot bool
inline_for_extraction
let isSome = function
  | Some _ -> true
  | None -> false

inline_for_extraction
val map: ('a -> ML 'b) -> option 'a -> ML (option 'b)
val map: ('a -> ML 'b) -> option 'a -> ML (option 'b)
f: (_: 'a -> FStar.All.ML 'b) -> _: FStar.Pervasives.Native.option 'a
  -> FStar.All.ML (FStar.Pervasives.Native.option 'b)