annotate demo/listFun.urs @ 2070:382911d72e63

Check realloc's return code to prevent segfault on out of memory condition (Part 3)
author Sergey Mironov <grrwlf@gmail.com>
date Tue, 02 Sep 2014 17:37:22 +0000
parents ab3177746c78
children
rev   line source
adamc@386 1 functor Make(M : sig
adamc@386 2 type t
adamc@398 3 val toString : t -> string
adamc@398 4 val fromString : string -> option t
adamc@386 5 end) : sig
adamc@386 6 val main : unit -> transaction page
adamc@386 7 end