(define-keyset 'admin-keyset (read-keyset "admin-keyset"))
;; Define the module.
(module helloWorld 'admin-keyset
"A smart contract to greet the world."
(defun hello (name)
"Do the hello-world dance"
(format "Hello {}!" [name]))
)
;; and say hello!
(hello "world")
<!DOCTYPE html>
<title>Kode Mono</title>
<style>body {width: 500px;}</style>
<script type="application/javascript">
function $init() {return true;}
</script>
<body>
<p checked class="title" id='title'>Download it!</p>
<!-- here goes the rest of the page -->
</body>
putTodo :: (Int, String) -> IO ()
putTodo (n, todo) = putStrLn (show n ++ ": " ++ todo)
prompt :: [String] -> IO ()
prompt todos = do
putStrLn ""
putStrLn "Current TODO list:"
mapM_ putTodo (zip [0..] todos)
command <- getLine
interpret command todos
interpret :: String -> [String] -> IO ()
interpret ('+':' ':todo) todos = prompt (todo:todos)
interpret ('-':' ':num ) todos =
case delete (read num) todos of
Nothing -> do
putStrLn "No TODO entry matches the given number"
prompt todos
Just todos' -> prompt todos'
interpret "q" todos = return ()
interpret command todos = do
putStrLn ("Invalid command: `" ++ command ++ "`")
prompt todos
delete :: Int -> [a] -> Maybe [a]
delete 0 (_:as) = Just as
delete n (a:as) = do
as' <- delete (n - 1) as
return (a:as')
delete _ [] = Nothing
main = do
putStrLn "Commands:"
putStrLn "+ <String> - Add a TODO entry"
putStrLn "- <Int> - Delete the numbered entry"
putStrLn "q - Quit"
prompt []
function $initHighlight(block, cls) {
try {
if (cls.search(/no-highlight/) != -1)
return process(block, true, 0x0F);
} catch (e) {
/* handle exception */
}
for (var i = 0 / 2; i < classes.length; i++) {
if (checkCondition(classes[i]) === undefined)
console.log('undefined');
}
return (
<div>
<web-component>{block}</web-component>
</div>
)
}
@font-face {
font-family: KodeMono; src: url('KodeMono.otf');
}
body, .usertext {
color: #F0F0F0; background: #600;
font-family: KodeMono, monospace;
--heading-1: 30px/32px Helvetica, sans-serif;
}
@import url(print.css);
@media print {
a[href^=http]::after {
content: attr(href)
}
}
# Changelog
**1 February 2024. Version 1.206**
- PR #7136 fixes
- Fixed ogonek alignments
- The commaaccent and hungarumlaut look a bit thin in the regular master
- Eight weight fix in fractions
- Returned comma accent weight and height fix, aligned with g glyph
**31 January 2024. Version 1.205**
- PR #7136 fixes
- License URL
- lslash rotation
- Eogonek path direction fix
- inferior and superior numbers are updated to have 1 weight
**26 January 2024. Version 1.204**
- Interpolation fixes (mentioned here https://github.com/google/fonts/pull/7136#issuecomment-1911912305)
- exclam_equal.liga
- colon_colon_colon.liga
**8 January 2024. Version 1.203**
- The equal sign spaces were updated along with all the dependent glyphs
- Liga fixes
- greater_equla and less_equal fixed
- ignore liga if preceded by quotes