{"id":19805679,"url":"https://github.com/remirobert/list-ocaml","last_synced_at":"2026-05-11T01:14:11.591Z","repository":{"id":72988905,"uuid":"17294225","full_name":"remirobert/list-ocaml","owner":"remirobert","description":"Recode of the list in Ocaml","archived":false,"fork":false,"pushed_at":"2014-03-10T15:49:40.000Z","size":309,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-11T06:13:18.194Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/remirobert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-28T17:39:27.000Z","updated_at":"2014-07-03T20:37:28.000Z","dependencies_parsed_at":"2023-02-23T15:31:43.085Z","dependency_job_id":null,"html_url":"https://github.com/remirobert/list-ocaml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2Flist-ocaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2Flist-ocaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2Flist-ocaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remirobert%2Flist-ocaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remirobert","download_url":"https://codeload.github.com/remirobert/list-ocaml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241150244,"owners_count":19918334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-12T09:04:54.862Z","updated_at":"2026-05-11T01:14:11.553Z","avatar_url":"https://github.com/remirobert.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"list-ocaml\n==========\n\nWhat is this\n============\nRecord list module to learn Caml language\n\nType\n====\n```Ocaml\ntype 'a my_list =\n  | Item of ('a * 'a my_list)\n  | Empty\n```\n\nFunction\n=======\n``` Ocaml\n* length : ’a my_list -\u003e int\n* hd : ’a my_list -\u003e ’a\n* tl : ’a my_list -\u003e ’a my_list\n* nth : ’a my_list -\u003e int -\u003e ’a\n* rev : ’a my_list -\u003e ’a my_list\n* append : ’a my_list -\u003e ’a my_list -\u003e ’a my_list\n* rev_append : ’a my_list -\u003e ’a my_list -\u003e ’a my_list\n* flatten : ’a my_list my_list -\u003e ’a my_list\n* iter : (’a -\u003e ’b) -\u003e ’a my_list -\u003e unit\n* map : (’a -\u003e ’b) -\u003e ’a my_list -\u003e ’b my_list\n* fold_left : (’a -\u003e ’b -\u003e ’a) -\u003e ’a -\u003e ’b my_list -\u003e ’a\n* for_all : (’a -\u003e bool) -\u003e ’a my_list -\u003e bool\n* exists : (’a -\u003e bool) -\u003e ’a my_list -\u003e bool\n* mem : ’a -\u003e ’a my_list -\u003e bool\n* memq : ’a -\u003e ’a my_list -\u003e bool\n* filter : (’a -\u003e bool) -\u003e ’a my_list -\u003e ’a my_list\n* mem_assoc : ’a -\u003e (’a * ’b) my_list -\u003e bool\n* assoc : ’a -\u003e (’a * ’b) my_list -\u003e ’b\n* split : (’a * ’b) my_list -\u003e ’a my_list * ’b my_list\n* remove_assoc : ’a -\u003e (’a * ’b) my_list -\u003e (’a * ’b) my_list\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremirobert%2Flist-ocaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremirobert%2Flist-ocaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremirobert%2Flist-ocaml/lists"}