On Monday 07 January 2008 08:42:06 Trey Harris wrote:
> Then we can have roles that describe cross-cutting behavior of various
> OS's (like POSIX):
>
> my &trytolink;
> give $?OS {
> when OS::HasSymlinks { &trytolink := &*symlink; }
> when OS::HasLinks { &trytolink := &*link; }
> default { &trytolink :=
> -> ($old, $new) { fail X::LinkNotAvailable }
> }
> }I agree, but these examples seem more like characteristics of filesystems than an OS. -- c
