Skip to content

Instantly share code, notes, and snippets.

@mattmils
Created July 8, 2011 21:26
Show Gist options
  • Save mattmils/1072865 to your computer and use it in GitHub Desktop.
Save mattmils/1072865 to your computer and use it in GitHub Desktop.
Togli vocali
vocale(a).
vocale(e).
vocale(i).
vocale(o).
vocale(u).
togli_vocali([],[]).
togli_vocali([X | Xs], Ys):- vocale(X), !, togli_vocali(Xs, Ys).
togli_vocali([X | Xs],[X | Ys]):- togli_vocali(Xs, Ys).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment