24 lines
No EOL
1 KiB
Text
24 lines
No EOL
1 KiB
Text
{{language|Frege
|
|
|strength=strong
|
|
|safety=safe
|
|
|compat=structural
|
|
|checking=static
|
|
|gc=yes
|
|
|LCT=no
|
|
|hopl=no
|
|
|site=http://www.frege-lang.org/}}
|
|
{{language programming paradigm|Declarative}}
|
|
{{language programming paradigm|functional}}
|
|
|
|
{{infobox_begin}}[http://try.frege-lang.org/ Try] this language on [http://try.frege-lang.org/ frege-lang.org].{{infobox_end}}
|
|
|
|
'''Frege''' is a purely [[functional programming]] language with [[lazy evaluation|non-strict]] semantics, strongly influenced by [[Haskell]], but targeting the [[runs on vm::Java Virtual Machine|JVM]], and deviates from Haskell in ways which make it easier to interoperate with [[Java]].
|
|
|
|
Frege source files use the extension <code>.fr</code>. Frege is similar enough to Haskell that <code>haskell-mode</code> can be used for editing Frege source files, for example by putting this line in your <code>.emacs</code>:
|
|
|
|
<pre>
|
|
(add-to-list 'auto-mode-alist '("\\.fr$" . haskell-mode))
|
|
</pre>
|
|
|
|
==Citations==
|
|
* [[wp:Frege_%28programming_language%29|Wikipedia:Frege (programming language)]] |