Module Core_kernel.Fn
Extends Base.Fn.
include Base.Fn
- val ignore : _ -> unit
- ignoreis the same as- Caml.ignore. It is useful to have here so that code that rebinds- ignorecan still refer to- Fn.ignore.
- val forever : (unit -> unit) -> exn
- forever fruns- f ()until it throws an exception and returns the exception. This function is useful for read_line loops, etc.