{"id":18890695,"url":"https://github.com/devwurm/gsg_infinite-lazy-lists-examples","last_synced_at":"2026-01-27T00:09:19.894Z","repository":{"id":83927734,"uuid":"52396546","full_name":"DevWurm/gsg_infinite-lazy-lists-examples","owner":"DevWurm","description":"Examples for a short talk about self referencing definitions of lazy infinite lists in functional programming","archived":false,"fork":false,"pushed_at":"2016-02-23T22:39:42.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-31T14:31:10.846Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Racket","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DevWurm.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-23T22:34:30.000Z","updated_at":"2016-02-23T22:37:35.000Z","dependencies_parsed_at":"2023-05-07T06:47:47.920Z","dependency_job_id":null,"html_url":"https://github.com/DevWurm/gsg_infinite-lazy-lists-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DevWurm/gsg_infinite-lazy-lists-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevWurm%2Fgsg_infinite-lazy-lists-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevWurm%2Fgsg_infinite-lazy-lists-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevWurm%2Fgsg_infinite-lazy-lists-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevWurm%2Fgsg_infinite-lazy-lists-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevWurm","download_url":"https://codeload.github.com/DevWurm/gsg_infinite-lazy-lists-examples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevWurm%2Fgsg_infinite-lazy-lists-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28792642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T07:56:59.346Z","updated_at":"2026-01-27T00:09:19.876Z","avatar_url":"https://github.com/DevWurm.png","language":"Racket","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Examples for the improved use of infinite lazy lists in functional programming\nThis repository contains examples for a short talk about the improved use of infinite lazy lists in the computer science class at GSG Löbau.\u003cbr\u003e\nIt shows 3 example lists (the sequence of natural numbers, the [fibonacci sequence](https://en.wikipedia.org/wiki/Fibonacci_number) and a function for generating arbitrary\n [arithmetic sequences](https://en.wikipedia.org/wiki/Arithmetic_progression), whose implementations are provided for an obvious (intuituive) to another more unintuitive, but sometimes more improved way.\u003cbr\u003e\nEach implementation is availiable in the language [Haskell](https://en.wikipedia.org/wiki/Haskell_%28programming_language%29), as well as in the language [Racket/Scheme](https://en.wikipedia.org/wiki/Racket_%28programming_language%29).\n\n## About intuitive and unintuitive ways\nMany of us start programming with imperiative languages, in which [lazy evaluation](https://en.wikipedia.org/wiki/Lazy_evaluation) (and thereby the use of \"infinite\" datastructures) isn't a big deal.\n Even many introductions to functional programming and lazy evaluation don't cover all the possibilities and ways of utilization brought by this feature.\u003cbr\u003e\nThe talk and these examples show a specific but broadly applicable part of all these features: Self referencing list definitions. By those many list definitions can be improved in terms of code length and readability.\n\n## License\nAll of the code is licensed under MIT License (see LICENSE for more information).\u003cbr\u003e\nUse it! :)\n\n## Contribute\nPlease contribute if you find bugs or if you can provide more cool examples. Even more different languages are desired!\u003cbr\u003e\nTo contribute you can create amn Issue or an Pull Request or send me an EMail :)\n\n## Contact\nIf you have any questions, ideas, etc. feel free to contact me:\u003cbr\u003e\nDevWurm\u003cbr\u003e\nEmail: devwurm@gmx.net\u003cbr\u003e\nJabber: devwurm@jabber.ccc.de\u003cbr\u003e\nTwitter: @DevWurm\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevwurm%2Fgsg_infinite-lazy-lists-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevwurm%2Fgsg_infinite-lazy-lists-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevwurm%2Fgsg_infinite-lazy-lists-examples/lists"}