Peter Bex scripsit:

> Better to either keep it the way it is, change the semantics and
> breaking compat (so be it), or convert to keyword args and make it an
> optional feature (my least favorite alternative).

I'm not a big fan of keyword args either, but an optional second argument
that makes it atomic wouldn't kill anybody.

(create-directory pathname [ atomic? ] )

Create the directory specified by pathname.  If the atomic? argument is
present and is true, do this atomically, raising an error if the directory
already exists.  Otherwise, do nothing if the directory already exists.
Raise an error in all other cases where the directory cannot be created.

-- 
John Cowan              http://www.ccil.org/~cowan      co...@ccil.org
"After all, would you consider a man without honor wealthy, even if his
Dinar laid end to end would reach from here to the Temple of Toplat?"
"No, I wouldn't", the beggar replied.  "Why is that?" the Master asked.
"A Dinar doesn't go very far these days, Master.        --Kehlog Albran
Besides, the Temple of Toplat is across the street."      The Profit

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to