Content deleted Content added
→Examples: While C and C++ have the simple "C preprocessor" macro sysem, it's not clear it is used, needs to (or can be) for this. At least not in the example I found. Adding Julia. Tags: citing a blog or free web host 2017 wikitext editor |
Remove reference to arbitrary, unrelated code examples. (Lazy lists can be implemented in any language, lazy or not.) Tag: references removed |
||
Line 8:
==Examples==
Nearly all [[programming language]]s in common use today are strict. Examples include [[C Sharp (programming language)|C#]], [[Java (programming language)|Java]], [[Perl]] (all versions, i.e. through version 5 and version 7; Raku, formerly known as Perl 6, has lazy lists<ref>{{Cite web|title=Raku Programming/Lazy Lists and Feeds - Wikibooks, open books for an open world|url=https://en.wikibooks.org/wiki/Raku_Programming/Lazy_Lists_and_Feeds|access-date=2021-02-09|website=en.wikibooks.org}}</ref>), [[Python (programming language)|Python]], [[Ruby (programming language)|Ruby]], [[Common Lisp]], and [[ML (programming language)|ML]]. Examples for non-strict languages are [[Haskell (programming language)|Haskell]], [[Miranda (programming language)|Miranda]], and [[Clean (programming language)|Clean]].{{Sfn|Cluet & Hull|1998|pp=25–26}}
Languages whose ordinary functions are strict but which provide a [[Macro_(computer_science)#Hygienic_macros|macro system]] to build non-strict functions include [[Julia (programming language)|Julia]],<ref>{{Citation|last=Innes|first=Mike J.|title=MikeInnes/Lazy.jl|date=2021-02-06|url=https://github.com/MikeInnes/Lazy.jl|access-date=2021-02-09}}</ref> and [[Scheme (programming language)|Scheme
==Explanation==
|