Re: [Factor-talk] unless-global-var
Actually, a better name might be `do-once`, or `with-guard-var`, or similar. 23.08.2017, 13:30, "Alexander Ilin": > Hello! > > I think I came up with a useful word. Don't we already have something of > this nature? > > : unless-global-var ( guard-variable quot -- ) >
[Factor-talk] unless-global-var
Hello! I think I came up with a useful word. Don't we already have something of this nature? : unless-global-var ( guard-variable quot -- ) dupd '[ t _ set-global @ ] [ get-global ] dip unless ; inline ---=--- Александр