You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
< html xmlns = "http://www.w3.org/1999/xhtml" > < head > < title > IR__Unop (infer.IR__Unop)< / title > < link rel = "stylesheet" href = "../../odoc.css" / > < meta charset = "utf-8" / > < meta name = "generator" content = "odoc 1.5.2" / > < meta name = "viewport" content = "width=device-width,initial-scale=1.0" / > < script src = "../../highlight.pack.js" > < / script > < script > hljs . initHighlightingOnLoad ( ) ; < / script > < / head > < body > < div class = "content" > < header > < nav > < a href = "../index.html" > Up< / a > – < a href = "../index.html" > infer< / a > » IR__Unop< / nav > < h1 > Module < code > IR__Unop< / code > < / h1 > < p > The Smallfoot Intermediate Language: Unary Operators< / p > < / header > < dl > < dt class = "spec type" id = "type-t" > < a href = "#type-t" class = "anchor" > < / a > < code > < span class = "keyword" > type< / span > t< / code > < code > = < / code > < table class = "variant" > < tr id = "type-t.Neg" class = "anchored" > < td class = "def constructor" > < a href = "#type-t.Neg" class = "anchor" > < / a > < code > | < / code > < code > < span class = "constructor" > Neg< / span > < / code > < / td > < td class = "doc" > < p > Unary minus< / p > < / td > < / tr > < tr id = "type-t.BNot" class = "anchored" > < td class = "def constructor" > < a href = "#type-t.BNot" class = "anchor" > < / a > < code > | < / code > < code > < span class = "constructor" > BNot< / span > < / code > < / td > < td class = "doc" > < p > Bitwise complement (~)< / p > < / td > < / tr > < tr id = "type-t.LNot" class = "anchored" > < td class = "def constructor" > < a href = "#type-t.LNot" class = "anchor" > < / a > < code > | < / code > < code > < span class = "constructor" > LNot< / span > < / code > < / td > < td class = "doc" > < p > Logical Not (!)< / p > < / td > < / tr > < / table > < / dt > < dd > < p > Unary operations< / p > < / dd > < / dl > < div > < div class = "spec include" > < div class = "doc" > < dl > < dt class = "spec value" id = "val-compare" > < a href = "#val-compare" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > compare : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > int< / code > < / dt > < / dl > < / div > < / div > < / div > < dl > < dt class = "spec value" id = "val-equal" > < a href = "#val-equal" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > equal : < a href = "index.html#type-t" > t< / a > < span > - > < / span > < a href = "index.html#type-t" > t< / a > < span > - > < / span > bool< / code > < / dt > < dt class = "spec value" id = "val-to_string" > < a href = "#val-to_string" class = "anchor" > < / a > < code > < span class = "keyword" > val< / span > to_string : < a href = "index.html#type-t" > t< / a > < span > - > < / span > string< / code > < / dt > < dd > < p > String representation of a unary operator.< / p > < / dd > < / dl > < / div > < / body > < / html >