f
Factor documentation > Factor handbook > The language > Booleans
Next:t


Vocabulary
syntax

Syntax
f


Inputs and outputs
fthe singleton false value


Word description
The f parsing word adds the f object to the parse tree, and is also the class whose sole instance is the f object. The f object is the singleton false value, the only object that is not true. The f object is not equal to the f class word, which can be pushed on the stack using word wrapper syntax:
f ! the singleton f object denoting falsity \ f ! the f class word


Definition
IN: syntax

BUILTIN: f ;


USING: sequences ;

IN: syntax

SYNTAX: f f suffix! ; inline


Methods
USING: kernel stack-checker.visitor ;

M: f #>r, 2drop ;


USING: kernel stack-checker.visitor ;

M: f #alien-assembly, drop ;


USING: kernel stack-checker.visitor ;

M: f #alien-callback, 2drop ;


USING: kernel stack-checker.visitor ;

M: f #alien-indirect, drop ;


USING: kernel stack-checker.visitor ;

M: f #alien-invoke, drop ;


USING: kernel stack-checker.visitor ;

M: f #call, 3drop ;


USING: kernel stack-checker.visitor ;

M: f #call-recursive, 3drop ;


USING: kernel stack-checker.visitor ;

M: f #copy, 2drop ;


USING: kernel stack-checker.visitor ;

M: f #declare, drop ;


USING: kernel stack-checker.visitor ;

M: f #dispatch, 2drop ;


USING: kernel stack-checker.visitor ;

M: f #drop, drop ;


USING: kernel stack-checker.visitor ;

M: f #enter-recursive, 3drop ;


USING: kernel stack-checker.visitor ;

M: f #if, 3drop ;


USING: kernel stack-checker.visitor ;

M: f #introduce, drop ;


USING: kernel stack-checker.visitor ;

M: f #phi, 3drop ;


USING: kernel stack-checker.visitor ;

M: f #push, 2drop ;


USING: kernel stack-checker.visitor ;

M: f #r>, 2drop ;


USING: kernel stack-checker.visitor ;

M: f #recursive, 3drop ;


USING: kernel stack-checker.visitor ;

M: f #return, drop ;


USING: kernel stack-checker.visitor ;

M: f #return-recursive, 3drop ;


USING: kernel stack-checker.visitor ;

M: f #shuffle, 4drop drop ;


USING: kernel stack-checker.visitor ;

M: f #terminate, 2drop ;


USING: bootstrap.image.private kernel layouts ;

M: f ' drop \ f type-number ;


USING: help.markup kernel ;

M: f ($instance) drop { f } $link ;


USING: alien.c-types alien.fortran.private kernel ;

M: f (fortran-ret-type>c-type) drop void ;


USING: alien.c-types alien.fortran.private kernel ;

M: f (fortran-type>c-type) drop void ;


USING: kernel stack-checker.values ;

M: f (input-value?) drop f ;


USING: namespaces stack-checker.errors stack-checker.values ;

M: f (literal) current-word get bad-macro-input ;


USING: kernel stack-checker.values ;

M: f (literal-value?) drop f ;


USING: game.input ;

M: f (reset-game-input) ;


USING: io kernel serialize ;

M: f (serialize) drop 110 write1 ;


USING: gpu.shaders.private kernel ;

M: f (verify-feedback-format) 2drop ;


USING: cuda.ptx kernel ;

M: f (write-ptx-element) drop ;


USING: kernel regexp.classes ;

M: f <not-class> drop t ;


USING: io.servers.private ;

M: f >insecure ;


USING: kernel ui.gadgets ui.gadgets.labels ;

M: f >label drop <gadget> ;


USING: help.topics kernel ;

M: f >link drop \ f >link ;


USING: timers.private ;

M: f >nanoseconds ;


USING: http.client.post-data.private ;

M: f >post-data ;


USING: kernel urls ;

M: f >url drop <url> ;


USING: alien.strings kernel ;

M: f alien>string drop ;


USING: arrays.shaped ;

M: f array-replace ;


USING: help.topics kernel ;

M: f article-content drop \ f article-content ;


USING: help.topics kernel ;

M: f article-parent drop \ f article-parent ;


USING: help.topics kernel ;

M: f article-title drop \ f article-title ;


USING: assocs kernel ;

M: f assoc-like drop dup assoc-empty? [ drop f ] when ; inline


USING: assocs kernel ;

M: f assoc-size drop 0 ; inline


USING: compiler.tree.propagation.constraints kernel ;

M: f assume* drop ;


USING: assocs kernel ;

M: f at* 2drop f f ; inline


USING: kernel trees.avl.private ;

M: f avl-delete nip f f ;


USING: alien.data kernel ;

M: f binary-zero? drop t ; inline


USING: html.templates kernel ;

M: f call-template* drop call-next-template ;


USING: kernel sets ;

M: f cardinality drop 0 ;


USING: stack-checker.visitor ;

M: f child-visitor f ;


USING: kernel regexp.classes ;

M: f class-member? 2drop f ; inline


USING: assocs kernel ;

M: f clear-assoc drop ; inline


USING: kernel sets ;

M: f clear-set drop ; inline


USING: generic.single ;

M: f compile-engine ;


USING: compiler.cfg.linear-scan.live-intervals kernel ;

M: f covers? 2drop f ;


USING: kernel sets ;

M: f delete 2drop ;


USING: continuations editors vocabs ;

M: f editor-command
"Select an editor" editor-restarts throw-restarts require
editor-command ;


USING: alien kernel ;

M: f element-size drop 1 ; inline


USING: debugger kernel ;

M: f expected>string drop "end of input" ;


USING: alien kernel ;

M: f expired? drop t ;


USING: hash-sets kernel sets ;

M: f fast-set drop 0 <hash-set> ;


USING: definitions kernel ;

M: f forget* drop ;


USING: fuel.pprint io kernel ;

M: f fuel-pprint drop "nil" write ; inline


USING: irc.client.internals ;

M: f handle-input handle-disconnect ;


USING: kernel ;

M: f hashcode* 2drop 31337 ; inline


USING: kernel ui.commands ;

M: f invoke-command 2drop ;


USING: benchmark.binary-trees kernel ;

M: f item-check drop 0 ;


USING: kernel sequences ;

M: f length drop 0 ; inline


USING: kernel sequences ;

M: f like drop [ f ] when-empty ; inline


USING: gpu.shaders.private kernel ;

M: f link-feedback-format 2drop ;


USING: kernel stack-checker.recursive-state.tree ;

M: f lookup nip ;


USING: kernel sets ;

M: f members drop f ;


USING: assocs hashtables kernel ;

M: f new-assoc drop <hashtable> ; inline


USING: arrays kernel math sequences ;

M: f new-sequence drop [ f ] [ 0 <array> ] if-zero ; inline


USING: kernel sequences.private ;

M: f nth-unsafe nip ; inline


USING: parser quotations ;

M: f parse-quotation \ ] parse-until >quotation ;


USING: io.sockets.private kernel ;

M: f parse-sockaddr nip ;


USING: kernel pdf.layout ;

M: f pdf-render 2drop f ;


USING: kernel pdf.values ;

M: f pdf-value drop "false" ;


USING: kernel prettyprint.backend prettyprint.custom ;

M: f pprint* drop \ f pprint-word ;


USING: kernel present ;

M: f present drop "" ;


USING: help.markup kernel ;

M: f print-element drop ;


USING: compiler.units kernel ;

M: f process-forgotten-words drop ;


USING: kernel regexp.compiler ;

M: f question>quot drop [ 2drop f ] ;


USING: random ;

M: f random-32* no-random-number-generator ;


USING: random ;

M: f random-bytes* no-random-number-generator ;


USING: accessors assocs compiler.units kernel ;

M: f recompile [ dup def>> ] { } map>assoc ;


USING: cpu.arm.assembler.private kernel ;

M: f register drop 0 ;


USING: kernel ui.gadgets ;

M: f request-focus-on 2drop ;


USING: io.sockets kernel ;

M: f resolve-host drop resolve-localhost ;


USING: alien.fortran.private kernel ;

M: f returns-by-value? drop t ;


USING: help.topics kernel ;

M: f set-article-parent drop \ f set-article-parent ;


USING: kernel threads ;

M: f sleep-until drop "standby" suspend drop ;


USING: kernel ui.gadgets.panes.private ;

M: f sloppy-pick-up* 2drop f ;


USING: kernel tools.crossref ;

M: f smart-usage drop \ f smart-usage ;


USING: kernel stack-checker.recursive-state.tree ;

M: f store drop dup hashcode f f node boa ;


USING: io kernel ;

M: f stream-contents* drop f ; inline


USING: io kernel ;

M: f stream-flush drop ; inline


USING: io json.writer kernel ;

M: f stream-json-print [ drop "false" ] [ stream-write ] bi* ;


USING: io kernel ;

M: f stream-nl drop ; inline


USING: io kernel ;

M: f stream-read-partial-unsafe 3drop 0 ; inline


USING: io kernel ;

M: f stream-read-unsafe 3drop 0 ; inline


USING: io kernel ;

M: f stream-read-until 2drop f f ; inline


USING: io kernel ;

M: f stream-read1 drop f ; inline


USING: io kernel ;

M: f stream-readln drop f ; inline


USING: io kernel ;

M: f stream-write 2drop ; inline


USING: io kernel ;

M: f stream-write1 2drop ; inline


USING: summary ;

M: f summary object-summary ;


USING: xmode.rules ;

M: f text-hash-char ;


USING: kernel xmode.marker ;

M: f text-matches? 2drop f ;


USING: compiler.units definitions namespaces sequences sets
words ;

M: f to-recompile
changed-definitions get members [ word? ] filter ;


USING: help.html kernel ;

M: f topic>filename* drop \ f topic>filename* ;


USING: compiler.units kernel ;

M: f update-call-sites 2drop { } ;


USING: kernel ui.gadgets.scrollers.private ;

M: f update-scroller drop (update-scroller) ;


USING: help.topics kernel ;

M: f valid-article? drop t ;


USING: vocabs ;

M: f vocab-help ;


USING: vocabs ;

M: f vocab-main ;


USING: vocabs ;

M: f vocab-words ;