Advertisement
Guest User

Untitled

a guest
Jan 9th, 2015
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. open Core.Std;;
  2. try let home_or_nothing = Sys.getenv("HOME") in
  3. match home_or_nothing with
  4. | Some x -> x
  5. | None -> raise No_home
  6. with
  7. No_home -> exit
  8. |_ -> "Exeption inconnue";;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement