more ocaml snippets

This commit is contained in:
Andrea Crotti 2012-02-25 19:14:44 +00:00
parent b1e2c1a76c
commit cf4a923563
5 changed files with 19 additions and 1 deletions

7
tuareg-mode/for Normal file
View file

@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: for
# key: for
# --
for ${1:cond} do
$0
done

View file

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: list_comprehension
# key: l
# --
[? $1 | $0 ?]

View file

@ -2,4 +2,4 @@
# name: printf
# key: pr
# --
Printf.printf ${1:"string"} ${2:vals};;
Printf.printf "${1:string}" ${2:vals};;

5
tuareg-mode/val Normal file
View file

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: val
# key: val
# --
val ${1:fun}: $0

1
typerex-mode Symbolic link
View file

@ -0,0 +1 @@
/home/andrea/Emacs-configuration/yasnippet-snippets/tuareg-mode