1
0
Fork 0
forked from fun/fun

Fixed tons of stuff in ./web/documentation/*. No code changes. (0.40.5)

This commit is contained in:
Johannes Findeisen 2026-04-11 00:18:36 +02:00
commit e7e1343a83
134 changed files with 730 additions and 1928 deletions

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - Examples catalog and how to run them
@ -10,21 +10,23 @@ description: Catalog of all example scripts under ./examples/, what each area co
permalink: /documentation/examples/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- area
- catalog
- contains
- env
- example
- examples
- extension
- required
- requirements
- run
- scripts
- them
- under
- vars
- what
---
# Examples catalog and how to run them
This page is a practical catalog of the example areas that ship with the Fun language. It explains what youll find in each folder under ./examples/, how to run the scripts, and where deeper walkthroughs live.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - builtins_extended.fun — overview
@ -10,21 +10,10 @@ description: Documentation for builtins_extended.fun — overview
permalink: /documentation/examples/builtins_extended/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- builtins_extended
- example
---
# builtins_extended.fun — overview
What it shows
- A tour of core builtins beyond the basics: printing, typing, math helpers, conversions, and utility functions commonly used in small scripts.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - builtins_maps_and_more.fun — overview
@ -10,21 +10,10 @@ description: Documentation for builtins_maps_and_more.fun — overview
permalink: /documentation/examples/builtins_maps_and_more/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- builtins_maps_and_more
- example
---
# builtins_maps_and_more.fun — overview
What it shows
- Exploring builtins while working with maps and related data structures.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - byte_for_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for byte_for_demo.fun — overview
permalink: /documentation/examples/byte_for_demo/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- byte_for_demo
- example
---
# byte_for_demo.fun — overview
What it shows
- Iterating bytes with a for-loop; indexing and printing byte values.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - byte_overflow_try_catch.fun — overview
@ -10,21 +10,10 @@ description: Documentation for byte_overflow_try_catch.fun — overview
permalink: /documentation/examples/byte_overflow_try_catch/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- byte_overflow_try_catch
- example
---
# byte_overflow_try_catch.fun — overview
What it shows
- Error handling around byte/integer overflow using try/catch.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - cast_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for cast_demo.fun — overview
permalink: /documentation/examples/cast_demo/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- cast_demo
- example
---
# cast_demo.fun — overview
What it shows
- Conversions and casting helpers; demonstrates changing between numeric and string types safely.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - class_constructor.fun — overview
@ -10,21 +10,10 @@ description: Documentation for class_constructor.fun — overview
permalink: /documentation/examples/class_constructor/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- class_constructor
- example
---
# class_constructor.fun — overview
What it shows
- Class basics and constructor behavior; initializing fields and using methods.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - class_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for class_test.fun — overview
permalink: /documentation/examples/class_test/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- class_test
- example
---
# class_test.fun — overview
What it shows
- Simple class usage and method invocation; small sanity checks around classes.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - class_without_object.fun — overview
@ -10,21 +10,10 @@ description: Documentation for class_without_object.fun — overview
permalink: /documentation/examples/class_without_object/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- class_without_object
- example
---
# class_without_object.fun — overview
What it shows
- Class features that can be used without creating an instance (static-like usage patterns).

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - classes_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for classes_demo.fun — overview
permalink: /documentation/examples/classes_demo/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- classes_demo
- example
---
# classes_demo.fun — overview
What it shows
- Class basics and usage: defining classes, instantiating objects, calling methods.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - cli_argv_dump.fun — overview
@ -10,21 +10,10 @@ description: Documentation for cli_argv_dump.fun — overview
permalink: /documentation/examples/cli_argv_dump/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- cli_argv_dump
- example
---
# cli_argv_dump.fun — overview
What it shows
- Prints argv/argc handling to demonstrate CLI arguments parsing at a low level.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - conversions_showcase.fun — overview
@ -10,21 +10,10 @@ description: Documentation for conversions_showcase.fun — overview
permalink: /documentation/examples/conversions_showcase/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- conversions_showcase
- example
---
# conversions_showcase.fun — overview
What it shows
- Numbers, strings, and bytes conversions; typical idioms and edge cases.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - cpp_add.fun — overview
@ -10,21 +10,10 @@ description: Documentation for cpp_add.fun — overview
permalink: /documentation/examples/cpp_add/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- cpp_add
- example
---
# cpp_add.fun — overview
What it shows
- Calling into the optional C++ extension from Fun.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - counter.fun (CGI)
@ -10,21 +10,11 @@ description: Documentation for counter.fun (CGI)
permalink: /documentation/examples/data/htdocumentation/counter/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- cgi
- counter
- example
---
# counter.fun (CGI)
- Location: examples/data/htdocumentation/counter.fun
- Category: CGI script used by HTTP server examples

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - form_post.fun (CGI)
@ -10,21 +10,11 @@ description: Documentation for form_post.fun (CGI)
permalink: /documentation/examples/data/htdocumentation/form_post/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- cgi
- example
- form_post
---
# form_post.fun (CGI)
- Location: examples/data/htdocumentation/form_post.fun
- Category: CGI script used by HTTP server examples

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - hello.fun (CGI)
@ -10,21 +10,11 @@ description: Documentation for hello.fun (CGI)
permalink: /documentation/examples/data/htdocumentation/hello/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- cgi
- example
- hello
---
# hello.fun (CGI)
- Location: examples/data/htdocumentation/hello.fun
- Category: CGI script used by HTTP server examples

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - info.fun (CGI)
@ -10,21 +10,11 @@ description: Documentation for info.fun (CGI)
permalink: /documentation/examples/data/htdocumentation/info/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- cgi
- example
- info
---
# info.fun (CGI)
- Location: examples/data/htdocumentation/info.fun
- Category: CGI script used by HTTP server examples

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - json_like_api.fun (CGI)
@ -10,21 +10,11 @@ description: Documentation for json_like_api.fun (CGI)
permalink: /documentation/examples/data/htdocumentation/json_like_api/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- cgi
- example
- json_like_api
---
# json_like_api.fun (CGI)
- Location: examples/data/htdocumentation/json_like_api.fun
- Category: CGI script used by HTTP server examples

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - redirect.fun (CGI)
@ -10,21 +10,11 @@ description: Documentation for redirect.fun (CGI)
permalink: /documentation/examples/data/htdocumentation/redirect/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- cgi
- example
- redirect
---
# redirect.fun (CGI)
- Location: examples/data/htdocumentation/redirect.fun
- Category: CGI script used by HTTP server examples

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - datetime_basic.fun — overview
@ -10,21 +10,10 @@ description: Documentation for datetime_basic.fun — overview
permalink: /documentation/examples/datetime_basic/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- datetime_basic
- example
---
# datetime_basic.fun — overview
What it shows
- Basic time/date helpers and formatting.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - datetime_extended.fun — overview
@ -10,21 +10,10 @@ description: Documentation for datetime_extended.fun — overview
permalink: /documentation/examples/datetime_extended/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- datetime_extended
- example
---
# datetime_extended.fun — overview
What it shows
- Extended datetime helpers: parsing, arithmetic, timers, and formatting variants.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - datetime_timer.fun — overview
@ -10,21 +10,10 @@ description: Documentation for datetime_timer.fun — overview
permalink: /documentation/examples/datetime_timer/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- datetime_timer
- example
---
# datetime_timer.fun — overview
What it shows
- Measuring elapsed time and simple timers using datetime helpers.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - echo_example.fun — overview
@ -10,21 +10,10 @@ description: Documentation for echo_example.fun — overview
permalink: /documentation/examples/echo_example/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- echo_example
- example
---
# echo_example.fun — overview
What it shows
- Simple echo of input/args; prints back what you type or pass as arguments.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - env_all.fun — overview
@ -10,21 +10,10 @@ description: Documentation for env_all.fun — overview
permalink: /documentation/examples/env_all/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- env_all
- example
---
# env_all.fun — overview
What it shows
- Reading and listing environment variables.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - error_handling.fun — overview
@ -10,21 +10,10 @@ description: Documentation for error_handling.fun — overview
permalink: /documentation/examples/error_handling/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- error_handling
- example
---
# error_handling.fun — overview
What it shows
- Error patterns and handling strategies using try/catch/finally.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - expressions_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for expressions_test.fun — overview
permalink: /documentation/examples/expressions_test/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- expressions_test
---
# expressions_test.fun — overview
What it shows
- Operator precedence and expression grouping tests/demonstrations.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - features.fun — overview
@ -10,21 +10,10 @@ description: Documentation for features.fun — overview
permalink: /documentation/examples/features/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- features
---
# features.fun — overview
What it shows
- Grab bag of language features in a single script.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - file_print_for_file_line_by_line.fun — overview
@ -10,21 +10,10 @@ description: Documentation for file_print_for_file_line_by_line.fun — overview
permalink: /documentation/examples/file_print_for_file_line_by_line/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- file_print_for_file_line_by_line
---
# file_print_for_file_line_by_line.fun — overview
What it shows
- Iterate a file line-by-line and print each line; basic file IO idioms.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - floats.fun — overview
@ -10,21 +10,10 @@ description: Documentation for floats.fun — overview
permalink: /documentation/examples/floats/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- floats
---
# floats.fun — overview
What it shows
- Floating point operations and formatting details.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - for_range_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for for_range_test.fun — overview
permalink: /documentation/examples/for_range_test/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- for_range_test
---
# for_range_test.fun — overview
What it shows
- Ranges and loops; iterating numeric ranges and verifying bounds.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - functions_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for functions_test.fun — overview
permalink: /documentation/examples/functions_test/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- functions_test
---
# functions_test.fun — overview
What it shows
- Functions, closures, and return behavior; call semantics basics.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - have_fun.fun — overview
@ -10,21 +10,10 @@ description: Documentation for have_fun.fun — overview
permalink: /documentation/examples/have_fun/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- have_fun
---
# have_fun.fun — overview
What it shows
- Playful demo showing off small language tricks.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - have_fun_function.fun — overview
@ -10,21 +10,10 @@ description: Documentation for have_fun_function.fun — overview
permalink: /documentation/examples/have_fun_function/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- have_fun_function
---
# have_fun_function.fun — overview
What it shows
- A playful function-centric demo; small utility behaviors.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - hex_example.fun — overview
@ -10,21 +10,10 @@ description: Documentation for hex_example.fun — overview
permalink: /documentation/examples/hex_example/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- hex_example
---
# hex_example.fun — overview
What it shows
- Hex encode/decode helpers; working with hexadecimal representations.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - if_else_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for if_else_test.fun — overview
permalink: /documentation/examples/if_else_test/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- if_else_test
---
# if_else_test.fun — overview
What it shows
- Control flow with if/else; branching and comparisons.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - include_lib.fun — overview
@ -10,21 +10,10 @@ description: Documentation for include_lib.fun — overview
permalink: /documentation/examples/include_lib/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- include_lib
---
# include_lib.fun — overview
What it shows
- Including modules from the standard library path using #include <...>.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - include_local.fun — overview
@ -10,21 +10,10 @@ description: Documentation for include_local.fun — overview
permalink: /documentation/examples/include_local/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- include_local
---
# include_local.fun — overview
What it shows
- Including local files relative to the script and reusing helpers.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - include_local_util.fun — overview
@ -10,21 +10,10 @@ description: Documentation for include_local_util.fun — overview
permalink: /documentation/examples/include_local_util/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- include_local_util
---
# include_local_util.fun — overview
What it shows
- Local include mechanics with a small utility module.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - inheritance_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for inheritance_demo.fun — overview
permalink: /documentation/examples/inheritance_demo/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- inheritance_demo
---
# inheritance_demo.fun — overview
What it shows
- Simple class inheritance and method overriding examples.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - loops_break_continue.fun — overview
@ -10,21 +10,10 @@ description: Documentation for loops_break_continue.fun — overview
permalink: /documentation/examples/loops_break_continue/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- loops_break_continue
---
# loops_break_continue.fun — overview
What it shows
- Loop control: break and continue; demonstrating control flow within loops.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - maps.fun — overview
@ -10,21 +10,17 @@ description: Working with maps, construction, lookup/update, merging, iteration,
permalink: /documentation/examples/maps/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- common
- construction
- example
- iteration
- lookup
- maps
- merging
- patterns
- update
---
# maps.fun — overview
What it shows
- Working with maps: creation, indexing, iteration, and typical idioms.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - match.fun — overview
@ -10,21 +10,10 @@ description: Documentation for match.fun — overview
permalink: /documentation/examples/match/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- match
---
# match.fun — overview
What it shows
- Pattern matching constructs and examples of branching by value/shape.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - namespaced_mod.fun — overview
@ -10,21 +10,10 @@ description: Documentation for namespaced_mod.fun — overview
permalink: /documentation/examples/namespaced_mod/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- namespaced_mod
---
# namespaced_mod.fun — overview
What it shows
- Namespaced includes and using the "as" aliasing pattern for modules.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - nested_loops.fun — overview
@ -10,21 +10,10 @@ description: Documentation for nested_loops.fun — overview
permalink: /documentation/examples/nested_loops/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- nested_loops
---
# nested_loops.fun — overview
What it shows
- Control flow with nested loops; inner/outer loop coordination.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - http_mt_server.fun
@ -10,21 +10,11 @@ description: Documentation for http_mt_server.fun
permalink: /documentation/examples/net/http_mt_server/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- http_mt_server
- network
---
# http_mt_server.fun
- Location: examples/net/http_mt_server.fun
- Category: Networking / HTTP (multi-threaded)

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - http_mt_server_cgi.fun
@ -10,21 +10,11 @@ description: Documentation for http_mt_server_cgi.fun
permalink: /documentation/examples/net/http_mt_server_cgi/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- http_mt_server_cgi
- network
---
# http_mt_server_cgi.fun
- Location: examples/net/http_mt_server_cgi.fun
- Category: Networking / HTTP with CGI (multi-threaded)

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - http_server.fun
@ -10,21 +10,11 @@ description: Documentation for http_server.fun
permalink: /documentation/examples/net/http_server/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- http_server
- network
---
# http_server.fun
- Location: examples/net/http_server.fun
- Category: Networking / HTTP (blocking)

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - http_server_cgi.fun
@ -10,21 +10,11 @@ description: Documentation for http_server_cgi.fun
permalink: /documentation/examples/net/http_server_cgi/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- http_server_cgi
- network
---
# http_server_cgi.fun
- Location: examples/net/http_server_cgi.fun
- Category: Networking / HTTP with CGI (blocking)

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - http_server_cgi_lib.fun
@ -10,21 +10,11 @@ description: Documentation for http_server_cgi_lib.fun
permalink: /documentation/examples/net/http_server_cgi_lib/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- http_server_cgi_lib
- network
---
# http_server_cgi_lib.fun
- Location: examples/net/http_server_cgi_lib.fun
- Category: Networking / HTTP with CGI (blocking, stdlib helpers)

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - http_static_server.fun
@ -10,21 +10,11 @@ description: Documentation for http_static_server.fun
permalink: /documentation/examples/net/http_static_server/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- http_static_server
- network
---
# http_static_server.fun
- Location: examples/net/http_static_server.fun
- Category: Networking / Sockets

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - HTTP server examples: architecture and how they work
@ -10,21 +10,16 @@ description: Documentation for HTTP server examples, architecture and how they w
permalink: /documentation/examples/net/httpserver/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- architecture
- example
- examples
- http
- network
- server
- they
- work
---
# HTTP server examples: architecture and how they work
This guide explains the HTTP server examples under `./examples/net/http_*` and the supporting standard library modules under `./lib/net/`.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - objects_basic.fun — overview
@ -10,21 +10,10 @@ description: Documentation for objects_basic.fun — overview
permalink: /documentation/examples/objects_basic/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- objects_basic
---
# objects_basic.fun — overview
What it shows
- OO basics: defining objects, fields, and invoking methods.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - objects_more.fun — overview
@ -10,21 +10,10 @@ description: Documentation for objects_more.fun — overview
permalink: /documentation/examples/objects_more/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- objects_more
---
# objects_more.fun — overview
What it shows
- Additional object patterns: composition, methods, and utilities.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - os_env.fun — overview
@ -10,21 +10,10 @@ description: Documentation for os_env.fun — overview
permalink: /documentation/examples/os_env/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- os_env
---
# os_env.fun — overview
What it shows
- Reading and writing environment variables from the operating system.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - process_example.fun — overview
@ -10,21 +10,10 @@ description: Documentation for process_example.fun — overview
permalink: /documentation/examples/process_example/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- process_example
---
# process_example.fun — overview
What it shows
- Spawning and capturing subprocess output; simple process management.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - progress.fun — overview
@ -10,21 +10,10 @@ description: Documentation for progress.fun — overview
permalink: /documentation/examples/progress/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- progress
---
# progress.fun — overview
What it shows
- Simple progress display in the terminal.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - progress_inline.fun — overview
@ -10,21 +10,10 @@ description: Documentation for progress_inline.fun — overview
permalink: /documentation/examples/progress_inline/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- progress_inline
---
# progress_inline.fun — overview
What it shows
- Inline progress updates (same line updates) for simple terminal UIs.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - random_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for random_demo.fun — overview
permalink: /documentation/examples/random_demo/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- random_demo
---
# random_demo.fun — overview
What it shows
- Random number generator usage and seeding basics.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - random_number_example.fun — overview
@ -10,21 +10,10 @@ description: Documentation for random_number_example.fun — overview
permalink: /documentation/examples/random_number_example/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- random_number_example
---
# random_number_example.fun — overview
What it shows
- Generating random numbers and printing them; small utility demo.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - regex_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for regex_demo.fun — overview
permalink: /documentation/examples/regex_demo/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- regex_demo
---
# regex_demo.fun — overview
What it shows
- Regex helpers usage; simple matching and replacement tasks.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - regex_procedural.fun — overview
@ -10,21 +10,10 @@ description: Documentation for regex_procedural.fun — overview
permalink: /documentation/examples/regex_procedural/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- regex_procedural
---
# regex_procedural.fun — overview
What it shows
- Procedural approach to regex work: compiling patterns and iterating matches.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - rust_hello.fun — overview
@ -10,21 +10,10 @@ description: Documentation for rust_hello.fun — overview
permalink: /documentation/examples/rust_hello/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- rust_hello
---
# rust_hello.fun — overview
What it shows
- Using Rust opcodes from Fun (when built with Rust support).

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - rust_hello_args.fun — overview
@ -10,21 +10,10 @@ description: Documentation for rust_hello_args.fun — overview
permalink: /documentation/examples/rust_hello_args/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- rust_hello_args
---
# rust_hello_args.fun — overview
What it shows
- Passing arguments into Rust-backed opcodes and handling returns.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - rust_hello_args_return.fun — overview
@ -10,21 +10,10 @@ description: Documentation for rust_hello_args_return.fun — overview
permalink: /documentation/examples/rust_hello_args_return/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- rust_hello_args_return
---
# rust_hello_args_return.fun — overview
What it shows
- Demonstrates returning values from Rust-backed opcodes with arguments.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - serial_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for serial_demo.fun — overview
permalink: /documentation/examples/serial_demo/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- serial_demo
---
# serial_demo.fun — overview
What it shows
- Serial port access and basic read/write (when available on your system).

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - short_circuit_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for short_circuit_test.fun — overview
permalink: /documentation/examples/short_circuit_test/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- short_circuit_test
---
# short_circuit_test.fun — overview
What it shows
- Boolean evaluation order and short-circuit behavior with && and ||.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - signed_ints.fun — overview
@ -10,21 +10,10 @@ description: Documentation for signed_ints.fun — overview
permalink: /documentation/examples/signed_ints/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- signed_ints
---
# signed_ints.fun — overview
What it shows
- Signed integer types and operations; ranges and conversions.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - stdlib_showcase.fun — overview
@ -10,21 +10,10 @@ description: Documentation for stdlib_showcase.fun — overview
permalink: /documentation/examples/stdlib_showcase/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- stdlib_showcase
---
# stdlib_showcase.fun — overview
What it shows
- Sampler of common standard library modules and utilities.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - strings_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for strings_test.fun — overview
permalink: /documentation/examples/strings_test/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- strings_test
---
# strings_test.fun — overview
What it shows
- String helpers and edge cases; splitting, joining, trimming, and formatting.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - tcp_http_get.fun — overview
@ -10,21 +10,10 @@ description: Documentation for tcp_http_get.fun — overview
permalink: /documentation/examples/tcp_http_get/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- tcp_http_get
---
# tcp_http_get.fun — overview
What it shows
- Manual HTTP client over raw TCP sockets: connect, write request, read response.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - tcp_http_get_class.fun — overview
@ -10,21 +10,10 @@ description: Documentation for tcp_http_get_class.fun — overview
permalink: /documentation/examples/tcp_http_get_class/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- tcp_http_get_class
---
# tcp_http_get_class.fun — overview
What it shows
- Manual HTTP client implemented with a small helper class over sockets.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - test_bits.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_bits.fun — overview
permalink: /documentation/examples/test_bits/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- test_bits
---
# test_bits.fun — overview
What it shows
- Bitwise utilities demonstration (and/or/xor/shifts) and small tests.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - test_dec_to_hex.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_dec_to_hex.fun — overview
permalink: /documentation/examples/test_dec_to_hex/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- test_dec_to_hex
---
# test_dec_to_hex.fun — overview
What it shows
- Decimal to hexadecimal conversion helper/tests.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - test_hex_to_dec.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_hex_to_dec.fun — overview
permalink: /documentation/examples/test_hex_to_dec/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- test_hex_to_dec
---
# test_hex_to_dec.fun — overview
What it shows
- Hexadecimal to decimal conversion helper/tests.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - test_include.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_include.fun — overview
permalink: /documentation/examples/test_include/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- test_include
---
# test_include.fun — overview
What it shows
- Small include mechanics test; ensures local and stdlib includes work.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - test_rol.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_rol.fun — overview
permalink: /documentation/examples/test_rol/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- test_rol
---
# test_rol.fun — overview
What it shows
- Bit rotation (ROL) helper/tests.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - test_serial.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_serial.fun — overview
permalink: /documentation/examples/test_serial/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- test_serial
---
# test_serial.fun — overview
What it shows
- Serial port test; opens a port and exchanges a few bytes (when available).

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - test_shl.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_shl.fun — overview
permalink: /documentation/examples/test_shl/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- test_shl
---
# test_shl.fun — overview
What it shows
- Bit shift left (SHL) helper/tests.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - test_types.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_types.fun — overview
permalink: /documentation/examples/test_types/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- test_types
---
# test_types.fun — overview
What it shows
- Type checks and simple assertions around type behavior.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - test_xor.fun — overview
@ -10,21 +10,10 @@ description: Documentation for test_xor.fun — overview
permalink: /documentation/examples/test_xor/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- test_xor
---
# test_xor.fun — overview
What it shows
- Bitwise XOR helper/tests.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - thread_class_example.fun — overview
@ -10,21 +10,10 @@ description: Documentation for thread_class_example.fun — overview
permalink: /documentation/examples/thread_class_example/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- thread_class_example
---
# thread_class_example.fun — overview
What it shows
- Threading building blocks using a small thread class; start/join patterns.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - threads_demo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for threads_demo.fun — overview
permalink: /documentation/examples/threads_demo/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- threads_demo
---
# threads_demo.fun — overview
What it shows
- Threading building blocks and concurrent execution demo.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - try_catch_finally.fun — overview
@ -10,21 +10,10 @@ description: Documentation for try_catch_finally.fun — overview
permalink: /documentation/examples/try_catch_finally/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- try_catch_finally
---
# try_catch_finally.fun — overview
What it shows
- Structured error handling with try/catch/finally blocks.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - type_safety.fun — overview
@ -10,21 +10,10 @@ description: Documentation for type_safety.fun — overview
permalink: /documentation/examples/type_safety/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- type_safety
---
# type_safety.fun — overview
What it shows
- Static/dynamic type checks and enforcing type safety in small examples.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - type_safety_fails.fun — overview
@ -10,21 +10,10 @@ description: Documentation for type_safety_fails.fun — overview
permalink: /documentation/examples/type_safety_fails/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- type_safety_fails
---
# type_safety_fails.fun — overview
What it shows
- Examples that intentionally violate type expectations to illustrate safety checks.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - typeof.fun — overview
@ -10,21 +10,10 @@ description: Documentation for typeof.fun — overview
permalink: /documentation/examples/typeof/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- typeof
---
# typeof.fun — overview
What it shows
- Type inspection using typeof and related helpers.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - typeof_features.fun — overview
@ -10,21 +10,10 @@ description: Documentation for typeof_features.fun — overview
permalink: /documentation/examples/typeof_features/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- typeof_features
---
# typeof_features.fun — overview
What it shows
- A tour of typeof-related features and type introspection helpers.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - types_integers.fun — overview
@ -10,21 +10,10 @@ description: Documentation for types_integers.fun — overview
permalink: /documentation/examples/types_integers/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- types_integers
---
# types_integers.fun — overview
What it shows
- Integer type families, ranges, and basic operations.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - types_overview.fun — overview
@ -10,21 +10,10 @@ description: Documentation for types_overview.fun — overview
permalink: /documentation/examples/types_overview/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- types_overview
---
# types_overview.fun — overview
What it shows
- Overview of language types with small examples.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - uint_types.fun — overview
@ -10,21 +10,10 @@ description: Documentation for uint_types.fun — overview
permalink: /documentation/examples/uint_types/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- uint_types
---
# uint_types.fun — overview
What it shows
- Unsigned integer types and operations; ranges and conversions.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - unix_socket_echo.fun — overview
@ -10,21 +10,10 @@ description: Documentation for unix_socket_echo.fun — overview
permalink: /documentation/examples/unix_socket_echo/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- unix_socket_echo
---
# unix_socket_echo.fun — overview
What it shows
- Local domain (UNIX) socket echo server/client demonstration.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - version.fun — overview
@ -10,21 +10,10 @@ description: Documentation for version.fun — overview
permalink: /documentation/examples/version/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- version
---
# version.fun — overview
What it shows
- Prints VM and version info for the Fun interpreter/runtime.

View file

@ -1,7 +1,7 @@
---
layout: page
published: true
noToc: true
noToc: false
noComments: false
noDate: false
title: Fun - while_test.fun — overview
@ -10,21 +10,10 @@ description: Documentation for while_test.fun — overview
permalink: /documentation/examples/while_test/
lang: en
tags:
- documentation
- handbook
- installation
- usage
- introduction
- help
- guide
- howto
- docs
- specifications
- specs
- repl
- example
- while_test
---
# while_test.fun — overview
What it shows
- Simple while loop example; loop conditions and counters.