PageSourceSearch

https://reasonml-old.github.io/guide/javascript/quickstart/

html reasonml-old.github.io collected 2026-10-03 09:49:47 UTC 64,854 bytes, 67 lines download raw bytes

1<!DOCTYPE html>
2 <html lang="en"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAnhJREFUWAljvOtj+Z9hoAAj42OmgbIbZu+oA0ZDYDQERkNgNARGQ2A0BFhg1SJOmpmZgZGJGUX6/39gE+LPbxQxZA4jKxsyFyv7/98/DAxAcwg6QLy8hYHb0h7DkL9fPjH8fvaE4fOuzQyfd29hYPj3F6yGWUCQQX7xVgz16AKvJ3cA9W0m7AB0jTA+Mw8fA7OaFgMHEHNb2DK8aCyBSZFEEwwBZNO+nTvJ8OPaRQYGRkYGVkkZBh47VwZGFhYGLhMrBh5HD4Yv+3cgKwez36+Yx/D/DzC40cDPOzfAIiQ54PvF0wwf1y2DG/Xr0X0G4YQsMJ9DWx+rAz6sXcrw/8d3uB4UBtAjJDkARTOQ8/vhPbgQs4AwnI3MADns/8+fyEIM/759Zfh17xZYjHwHAHMHj5Mn3OA/L5/C2cgMyYY+ZC6Y/ePGFYZnpWlgNkkO4PcLZ+CxdQFqBAadmAQDMx8/2JD/f/8yfN67HcwmlSDJASzCogwgjAxACezNrD54kCLLgdgvmkvBUQDufIDKDyD49/UzmAYRJDng19NHDH9ePmNgZOdg4NQ2ABvyGyj2eedmuIHojO+XzuFOhKQ64POuTfBcIN03l4FdVZOBTV6JgT8wkuHj2iXodoP5/D4h2LPh3ZsMP66cJy0EkG14t3gmg2TTBLCQYGQyw9ej+xn+vMBMiELxmcja4OyPm1aBHUB2bfj9/CmG75fPgw1kYmdnEMkugxtOCoORUOeUkYMTXNqBDAXl5/+/f8HNB1U6jEDLYeDfF0jiYuLhhQnhpEHm/P/16zHBRAgqxSBpF9MssCFIDoKpgDkExsdJg0tCRoaPOBXQXuITAIHczlO/UBn+AAAAAElFTkSuQmCC"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="preload" href="/page-component---src-templates-guide-js-b98ddd748040fb94203a.js" as="script"/><link rel="preload" href="/path---guide-javascript-quickstart-ec8788d7364ab894753e.js" as="script"/><link rel="preload" href="/layout-component---index-97b136593a02d20e1646.js" as="script"/><link rel="preload" href="/app-0b8639b7d38139410e11.js" as="script"/><link rel="preload" href="/commons-e91450450b39d2894f19.js" as="script"/>
2<script id="webpack-manifest">
3            //<![CDATA[
4            window.webpackManifest = {"1":"page-component---src-templates-guide-js-b98ddd748040fb94203a.js","2":"page-component---src-pages-community-companies-js-6052dfb64c4004eb1431.js","3":"page-component---src-pages-try-js-07750971bb3a244a091e.js","4":"page-component---src-pages-index-js-683772e619f257f2953c.js","5":"page-component---src-pages-community-examples-js-440fae3096331f269f06.js","6":"page-component---src-templates-search-js-ebdf343b0d2ef63fcf09.js","7":"page-component---src-templates-api-js-01db3489c3cb976a39e4.js","8":"layout-component---index-97b136593a02d20e1646.js","9":"path---try-586c7e095e534a3909ec.js","10":"path---index-89904e1415187633832c.js","11":"path---guide-80e7f542309fbc51cb58.js","12":"path---guide-what-and-why-b01007c562e7a38c35ec.js","13":"path---guide-search-75f0b0f880bf754d7367.js","14":"path---guide-ocaml-376f2c0d6d09fec2843d.js","15":"path---guide-native-388fb640435fa868b14f.js","16":"path---guide-native-quickstart-8cd7e80d79a8c1a58c4d.js","17":"path---guide-native-convert-from-ocaml-7b
4060395d7f8e8635886.js","18":"path---guide-meta-cc49d3788bbe87566e1a.js","19":"path---guide-meta-project-structure-7bd201162c33c8d85a66.js","20":"path---guide-language-95edfa70c5007b5054af.js","21":"path---guide-language-variant-de307ed754a86d5e0a39.js","22":"path---guide-language-type-b4c6ed368369272f0aff.js","23":"path---guide-language-tuple-82bb21643dab00007862.js","24":"path---guide-language-string-and-char-8a032d024821919a8311.js","25":"path---guide-language-record-d7a774a761cd601fa87e.js","26":"path---guide-language-pattern-matching-3362d8d2b6b27db0ead0.js","27":"path---guide-language-overview-c14d868342721b71e45b.js","28":"path---guide-language-object-3bf4c2d8cb872e26f6c5.js","29":"path---guide-language-mutation-bb50cd51f291f8ec6114.js","30":"path---guide-language-more-on-type-7bb5e06b02bc2c868384.js","31":"path---guide-language-module-40a8c40221a4524ff3c6.js","32":"path---guide-language-list-and-array-354aca44fc878aa2a24b.js","33":"path---guide-language-let-binding-a858a18ec8c9a1aca81f.js","34":"path---guide-language-jsx-9eae269d77a7add6f7a5.js","35":"path---guide-language-integer-and-float-edbfece2065b27e9d087.js","36":"path---guide-language-imperative-loops-a745ca551451752da291.js","37":"path---guide-language-if-else-fb0ae08b76729988fc1b.js","38":"path---guide-language-function-c6f174172f757cc6fed0.js","39":"path---guide-language-external-bf01f6df1201eb13ba6a.js","40":"path---guide-language-exception-2987fa2e5d673157f825.js","41":"path---guide-language-destructuring-eb2f5d5fa4e70e5e7c2f.js","42":"path---guide-language-boolean-727f86ed5ba6331118ab.js","43":"path---guide-javascript-6736f912fdeea8f57f91.js","44":"path---guide-javascript-syntax-cheatsheet-a2e9b2aa1b1e7ea55dda.js","45":"path---guide-javascript-quickstart-ec8788d7364ab894753e.js","46":"path---guide-javascript-libraries-9324be05f209837846e2.js","47":"path---guide-javascript-interop-5317bbaef521ef374db2.js","48":"path---guide-javascript-converting-075bf559a262f9308840.js","49":"path---guide-examples-bad404b465fddda13c91.js","50":"path---guide-editor-tools-5e2e90e584a8bf5ad6d8.js","51":"path---guide-editor-tools-global-installation-8f18d953ade3dee364df.js","52":"path---guide-editor-tools-extra-goodies-ae096d1ec46521cfe9fa.js","53":"path---guide-editor-tools-editors-plugins-2bd6250bac7b4d5829a0.js","54":"path---community-0c9bd77fe5bf9db8c1bd.js","55":"path---community-search-6ff9ffc708209a654e7b.js","56":"path---community-roadmap-43d809036f794d5a96a6.js","57":"path---community-faq-4ea80eb93f833ed288fe.js","58":"path---community-examples-da93fdd6a89717f28eb0.js","59":"path---community-events-4325640cfbeb70d8c7ee.js","60":"path---community-companies-3232d613f067c68a2e6a.js","61":"path---community-blog-e0698192cdd387c6b2e6.js","62":"path---community-articles-and-videos-ba61205cd1aa6f0ccd94.js","63":"path---api-weak-s-html-09eef08c470bbdbf8864.js","64":"path---api-weak-make-html-e0f4c323bed4ec0fb007.js","65":"path---api-weak-html-fd9b926fd00563da7eb3.js","66":"path---api-unix-large-file-html-81ea9b0882125e06643b.js","67":"path---api-unix-html-da53fea3ae56e13fdc6e.js","68":"path---api-type-weak-s-html-b997591b7843be09662b.js","69":"path---api-type-weak-make-html-91ae13f4fff60e854300.js","70":"path---api-type-weak-html-54db09de2f52d4eda9de.js","71":"path---api-type-unix-large-file-html-75fcee55cf564ff29798.js","72":"path---api-type-unix-html-0bf26b0649fe0d548d8c.js","73":"path---api-type-sys-html-467e417ba5d3179f8fb9.js","74":"path---api-type-syntaxerr-html-aee4dc57083e13a63693.js","75":"path---api-type-string-labels-html-af9f6fb39aa33fdca775.js","76":"path---api-type-string-html-1e180a964e1cc3904f7a.js","77":"path---api-type-stream-html-655c556cceaa68cd3aa0.js","78":"path---api-type-str-html-c27b20a4558a3714ea70.js","79":"path---api-type-std-labels-string-html-aa84845325c8bb68807c.js","80":"path---api-type-std-labels-list-html-72232ae710e1ff717899.js","81":"path---api-type-std-labels-html-4dbcb556862b6deaa113.js","82":"path---api-type-std-labels-bytes-html-072c270950dde43026e5.js","83":"path---api-type-std-labels-array-html-140f69b28bcce433a735.js","84":"path---api-type-stack-html-c4bf05501a9b1bdf13ce.js","85":"path---api-type-sort-html-4410874b6a81e1c768c6.js","86":"path---api-type-set-s-html-c442b637213ea7a0ea46.js","87":"path---api-type-set-ordered-type-html-8a32d7fa3c954c35e63f.js","88":"path---api-type-set-make-html-cbd6ece7d8925490fe33.js","89":"path---api-type-set-html-73bd95bc9c43dffa2f96.js","90":"path---api-type-scanf-scanning-html-7a35b1bd8b7ab1f8aba3.js","91":"path---api-type-scanf-html-06b6263bf62b27d75e3a.js","92":"path---api-type-random-state-html-aa0422f9b6e3f42ceeda.js","93":"path---api-type-random-html-5a66046672fd00c79169.js","94":"path---api-type-queue-html-401c0f740b06ef3bd272.js","95":"path---api-type-printf-html-29359495620e6a18b36b.js","96":"path---api-type-printexc-slot-html-6fe27a037d178b5bee3e.js","97":"path---api-type-printexc-html-a17ebb7ad237adab359f.js","98":"path---api-type-printast-html-8195188b86ffb0fc176f.js","99":"path---api-type-pprintast-printer-html-bc024cafdb1ca950bee9.js","100":"path---api-type-pprintast-html-cd684ba6401730d23301.js","101":"path---api-type-pervasives-large-file-html-d0f221d7f23aae541b84.js","102":"path---api-type-pervasives-html-6ab1a820a0b6fc4ec5ab.js","103":"path---api-type-parsing-html-ee52b923899fa3d00ef0.js","104":"path---api-type-parsetree-html-661fd3a22686c854e146.js","105":"path---api-type-parser-html-d6088c76cdbebbecfd80.js","106":"path---api-type-parse-html-a4e02d2f9e4c02530ea8.js","107":"path---api-type-oo-html-b24bd8162f6e3467f385.js","108":"path---api-type-obj-html-22a635258206f2d8da62.js","109":"path---api-type-num-html-01d704d69d9f1f3d88bf.js","110":"path---api-type-nativeint-html-47392ad36eb244efe5d6.js","111":"path---api-type-more-labels-set-s-html-929e1c4117091e4c8d76.js","112":"path---api-type-more-labels-set-ordered-type-html-686117aefd45565192f2.js","113":"path---api-type-more-labels-set-make-html-fa623f0d5a5070c507ec.js","114":"path---api-type-more-labels-set-html-da11fbfdcb873bd05392.js","115":"path---api-type-more-labels-map-s-html-3cbd68175b475c33fc1b.js","116":"path---api-type-more-labels-map-ordered-type-html-1b15c2dec285224bd4d0.js","117":"path---api-type-more-labels-map-make-html-a88c13a167a6279abd9c.js","118":"path---api-type-more-labels-map-html-87fd51cf39f12e554e75.js","119":"path---api-type-more-labels-html-c642e3ed6c837b3a1887.js","120":"path---api-type-more-labels-hashtbl-seeded-s-html-ba7741a33c82d2e24030.js","121":"path---api-type-more-labels-hashtbl-seeded-hashed-type-html-17dc0427515f5c169683.js","122":"path---api-type-more-labels-hashtbl-s-html-22bda7339aaedf325812.js","123":"path---api-type-more-labels-hashtbl-make-seeded-html-aa900033dd142efe1f63.js","124":"path---api-type-more-labels-hashtbl-make-html-9f96c78c3793e3fd42c0.js","125":"path---api-type-more-labels-hashtbl-html-61977b6850bb81f09c6d.js","126":"path---api-type-more-labels-hashtbl-hashed-type-html-7b34f0703ce23cc5cc68.js","127":"path---api-type-marshal-html-00b3b4a2bb1b16a14b46.js","128":"path---api-type-map-s-html-6c9d264581df5a610044.js","129":"path---api-type-map-ordered-type-html-eddb83fa0c79ab0f1a10.js","130":"path---api-type-map-make-html-9a78e13e5ee849ab567a.js","131":"path---api-type-map-html-29fd95ff7031d4274fab.js","132":"path---api-type-longident-html-d6a6324d0037b3ea6c7f.js","133":"path---api-type-location-html-0f722e4f11cee0ae64da.js","134":"path---api-type-list-labels-html-426255158dd02deb7366.js","135":"path---api-type-list-html-aef21223474be03e14c4.js","136":"path---api-type-lexing-html-994646b49ce92c451a8b.js","137":"path---api-type-lexer-html-ae2aea663b0a1ef7ae1f.js","138":"path---api-type-lazy-html-fb91f61d2389b7218ffb.js","139":"path---api-type-int-64-html-56b622543593165cfd31.js","140":"path---api-type-int-32-html-cee24697293b9e6f7243.js","141":"path---api-type-hashtbl-seeded-s-html-017675d8d564e8b1a73f.js","142":"path---api-type-hashtbl-seeded-hashed-type-html-2166dcf40cc375a8c7a7.js","143":"path---api-type-hashtbl-s-html-a3f9b154e89cf7e2ccbc.js","144":"path---api-type-hashtbl-make-seeded-html-3b0dd6c101e5189fd154.js","145":"path---api-type-hashtbl-make-html-13b25c3cf35f915b9b34.js","146":"path---api-type-hashtbl-html-e0acb2239a2c399a6062.js","147":"path---api-type-hashtbl-hashed-type-html-ad1b4938bafffb49e773.js","148":"path---api-type-genlex-html-b476706e28248d3d2a1d.js","149":"path---api-type-gc-html-52dc966d93e91fef8e04.js","150":"path---api-type-format-html-f6511537234f2d36001b.js","151":"path---api-type-filename-html-a26c83ce5db1449c28aa.js","152":"path---api-type-docstrings-html-32c8e72a01b7e5aaaee3.js","153":"path---api-type-digest-html-cf7d0525c5daaed643fe.js","154":"path---api-type-complex-html-284411e465b7a92db736.js","155":"path---api-type-char-html-c284839f7174cb0799e1.js","156":"path---api-type-camlinternal-oo-html-48f4afa0947dbfd54db1.js","157":"path---api-type-camlinternal-mod-html-c326084d31a17a73ab46.js","158":"path---api-type-camlinternal-lazy-html-a145943dc89e522f4558.js","159":"path---api-type-camlinternal-format-html-5ee20532be4039b1c47a.js","160":"path---api-type-camlinternal-format-basics-html-707ae73a15cf0dfb5843.js","161":"path---api-type-callback-html-c77e7197fd04f34c9b4a.js","162":"path---api-type-bytes-labels-html-8057ccbdfb9bdbd4e7d2.js","163":"path---api-type-bytes-html-223f6d31c72ece600d01.js","164":"path---api-type-buffer-html-6daf1f7b119b99f2d05d.js","165":"path---api-type-bigarray-html-9b7545aade795452241c.js","166":"path---api-type-bigarray-genarray-html-3b738d1b7fc5f959fd4e.js","167":"path---api-type-bigarray-array-3-html-377be1d9dca573ed4774.js","168":"path---api-type-bigarray-array-2-html-c3033a3150fb4a30a80c.js","169":"path---api-type-bigarray-array-1-html-d41a47c7fcd94bf50446.js","170":"path---api-type-asttypes-html-5c9b94a1c341bbbca953.js","171":"path---api-type-ast-mapper-html-1db6ed347b36bfdec173.js","172":"path---api-type-ast-helper-vb-html-ec7790a2a0102ad18238.js","173":"path---api-type-ast-helper-val-html-9c7c819d7156cc17f759.js","174":"path---api-type-ast-helper-type-html-6a48fb545a6baf019138.js","175":"path---api-type-ast-helper-typ-html-50f7e9cff85c8ad32aeb.js","176":"path---api-type-ast-helper-te-html-a4279d413ff1d6093c5b.js","177":"path---api-type-ast-helper-str-html-36aeb0bd85d4baa9c04e.js","178":"path---api-type-ast-helper-sig-html-c2f1fe8e08b134467ea3.js","179":"path---api-type-ast-helper-pat-html-603dc526d9e4060c99a2.js","180":"path---api-type-ast-helper-opn-html-4c092861d6080d40c833.js","181":"path---api-type-ast-helper-mty-html-ec474494c9acd0a48655.js","182":"path---api-type-ast-helper-mtd-html-04c9db15b213c43dd606.js","183":"path---api-type-ast-helper-mod-html-793dbcc92bab3aad2aa6.js","184":"path---api-type-ast-helper-md-html-6e5cf094f355233c5952.js","185":"path---api-type-ast-helper-mb-html-af95b9e87b29a1a781d7.js","186":"path---api-type-ast-helper-incl-html-18a250817fb6e32164c2.js","187":"path---api-type-ast-helper-html-5c4b408a21dd23521aeb.js","188":"path---api-type-ast-helper-exp-html-d01fdb7a2505e5439e55.js","189":"path---api-type-ast-helper-cty-html-32f84351ad6bbaf63b38.js","190":"path---api-type-ast-helper-ctf-html-584db5256043c7cb33d6.js","191":"path---api-type-ast-helper-cstr-html-6ea6
45c851cfabea42d77.js","192":"path---api-type-ast-helper-csig-html-2c21c6bdf3d52a8a9cd2.js","193":"path---api-type-ast-helper-cl-html-2f781b931958af12ff10.js","194":"path---api-type-ast-helper-ci-html-398ae41fb2d913d2038a.js","195":"path---api-type-ast-helper-cf-html-9966608d1b631514ddc6.js","196":"path---api-type-array-labels-html-5f0a386414111eba6068.js","197":"path---api-type-array-html-c93c5c511eecf92cad92.js","198":"path---api-type-arg-html-a858470190d99e5a2f3a.js","199":"path---api-sys-html-ab889791a43f49e0a572.js","200":"path---api-syntaxerr-html-34d636ba9e87769bf7ed.js","201":"path---api-string-labels-html-e551080a586ab69f9d96.js","202":"path---api-string-html-97f023d65a162dc8afb0.js","203":"path---api-stream-html-1b9d4e3693e80f8103e6.js","204":"path---api-str-html-6724aecbb3ba4f23945e.js","205":"path---api-std-labels-string-html-11c30c9855dfcf4986a0.js","206":"path---api-std-labels-list-html-8a532976f2e9834043fd.js","207":"path---api-std-labels-html-ea43509991a1aece02ce.js","208":"path---api-std-labels-bytes-html-011d6e670e3e5e4360fc.js","209":"path---api-std-labels-array-html-833a59a14f2c5dcdb3a9.js","210":"path---api-stack-html-4776102246c2ad024a31.js","211":"path---api-sort-html-bbd47c918be3e03fc64c.js","212":"path---api-set-s-html-fa24b7b0c4f647258bc4.js","213":"path---api-set-ordered-type-html-44dc1f2d989a201c98cc.js","214":"path---api-set-make-html-a03fdcdf964f3cf1685d.js","215":"path---api-set-html-7c357a4d83f152c67465.js","216":"path---api-scanf-scanning-html-6c33e495b1f1ae5874b8.js","217":"path---api-scanf-html-07375456c01fa596da2a.js","218":"path---api-random-state-html-c8d9668b6b88315a0664.js","219":"path---api-random-html-8a08d056de2941c43f82.js","220":"path---api-queue-html-958ef41cd9746e128565.js","221":"path---api-printf-html-845e44ef25591ca0e923.js","222":"path---api-printexc-slot-html-f7bf4797a75bae092a23.js","223":"path---api-printexc-html-d6455db8175ed876f3b9.js","224":"path---api-printast-html-3dafc567dec790732ab3.js","225":"path---api-pprintast-printer-c-html-1c029208258ac28e55b2.js","226":"path---api-pprintast-html-ef93ab0fb9634ffe977d.js","227":"path---api-pervasives-large-file-html-e046c78ca2f65ea4c6e8.js","228":"path---api-pervasives-html-b85ee6310e3aab309b80.js","229":"path---api-parsing-html-7c4ddc3510a8f1d960f4.js","230":"path---api-parsetree-html-25e545dfb315cc038c60.js","231":"path---api-parser-html-4788c4603a30f2620946.js","232":"path---api-parse-html-a3b848ef24ec10803fd6.js","233":"path---api-oo-html-7007b35443942b83e1c0.js","234":"path---api-obj-html-005323c680fb453b5b25.js","235":"path---api-num-html-b5a8f8b89cfaaa75e9ed.js","236":"path---api-nativeint-html-e0b7cb6c0d454da0e52a.js","237":"path---api-more-labels-set-s-html-a15b91750fc6846d606c.js","238":"path---api-more-labels-set-ordered-type-html-1ada182e44ceb76dea23.js","239":"path---api-more-labels-set-make-html-8f4fac5bcb5cbaebdf01.js","240":"path---api-more-labels-set-html-4853bc1ee11234535854.js","241":"path---api-more-labels-map-s-html-0451f9d742690211de8e.js","242":"path---api-more-labels-map-ordered-type-html-346dbab69cdf4cbdfc23.js","243":"path---api-more-labels-map-make-html-137ba96dd5a0f5ac1bb9.js","244":"path---api-more-labels-map-html-479c07b0849451e8212c.js","245":"path---api-more-labels-html-4db6cbc14a94dfede624.js","246":"path---api-more-labels-hashtbl-seeded-s-html-5ab84a17bb7227e652a7.js","247":"path---api-more-labels-hashtbl-seeded-hashed-type-html-f6fb6a5b5170dc08e841.js","248":"path---api-more-labels-hashtbl-s-html-81af08955c04f99db1dd.js","249":"path---api-more-labels-hashtbl-make-seeded-html-9f9063bd792684aff00c.js","250":"path---api-more-labels-hashtbl-make-html-ade733398ac12ec99ad8.js","251":"path---api-more-labels-hashtbl-html-a738389fcfa9efbf2885.js","252":"path---api-more-labels-hashtbl-hashed-type-html-cc864ea0af38c67f78e4.js","253":"path---api-marshal-html-ab84988c2a8103aed279.js","254":"path---api-map-s-html-b1cebe3f62e130aeddbf.js","255":"path---api-map-ordered-type-html-80511551220d56f52ccb.js","256":"path---api-map-make-html-19ebba0930669c8d0393.js","257":"path---api-map-html-af08d41cbb87e2d67498.js","258":"path---api-longident-html-4b63da86772b7f7c869f.js","259":"path---api-location-html-d93a01dbc9f3ece19ed1.js","260":"path---api-list-labels-html-c0eb1eb3808433a420f7.js","261":"path---api-list-html-d081350e6280d1c9d128.js","262":"path---api-lexing-html-ddad3fe71604dc4dac55.js","263":"path---api-lexer-html-c703bfea0fe3504e59a5.js","264":"path---api-lazy-html-01174fffc5495f41d399.js","265":"path---api-int-64-html-79631ac9c1948d7bade4.js","266":"path---api-int-32-html-951c46abcb82046b83c5.js","267":"path---api-index-values-html-d12d1a3803145d2848e6.js","268":"path---api-index-types-html-21d8478a4b339081f837.js","269":"path---api-index-modules-html-f72c389dd0f1a93f2967.js","270":"path---api-index-module-types-html-3179739d03715a8a2ce7.js","271":"path---api-index-methods-html-6398bf4b7126e4800d29.js","272":"path---api-index-html-ece6b6e0313adc0e3333.js","273":"path---api-index-extensions-html-e792cfa24d213a58c0b7.js","274":"path---api-index-exceptions-html-114af2f5dcfd9949fe9c.js","275":"path---api-index-classes-html-d135d4580a66cf1f8fab.js","276":"path---api-index-class-types-html-017343
4ce364c58908028.js","277":"path---api-index-attributes-html-2cc002255476fa454bce.js","278":"path---api-hashtbl-seeded-s-html-041152e6d7098a9ac3f0.js","279":"path---api-hashtbl-seeded-hashed-type-html-edef9a197778d1adb097.js","280":"path---api-hashtbl-s-html-ba50ff74f7332907159f.js","281":"path---api-hashtbl-make-seeded-html-ec592d27ee292364205b.js","282":"path---api-hashtbl-make-html-d222d7c1234546f66f75.js","283":"path---api-hashtbl-html-745241143a38b9c6ac50.js","284":"path---api-hashtbl-hashed-type-html-0b7936bfdbb517d2e667.js","285":"path---api-genlex-html-ad5d5253037322885216.js","286":"path---api-gc-html-c07fe732602db35919c8.js","287":"path---api-format-html-c7c4295bd8e16c93e5e0.js","288":"path---api-filename-html-41c0191d8c914d7841c6.js","289":"path---api-docstrings-html-261f0ee1a1019f325d2f.js","290":"path---api-digest-html-4029987720d7be7aae20.js","291":"path---api-complex-html-b31957218963af6414ca.js","292":"path---api-char-html-516c843f2a6181a2a5aa.js","293":"path---api-camlinternal-oo-html-b0b0a716c80e6743fdff.js","294":"path---api-camlinternal-mod-html-d82ce327220be89ee833.js","295":"path---api-camlinternal-lazy-html-8ab81ae317377c03227c.js","296":"path---api-camlinternal-format-html-fd0de726156a45ddf81a.js","297":"path---api-camlinternal-format-basics-html-1068cd49432066f02572.js","298":"path---api-callback-html-08e2897295f8813d1a0b.js","299":"path---api-bytes-labels-html-c21da83b4a90ec607fc2.js","300":"path---api-bytes-html-3ff6df742a48fbd497c8.js","301":"path---api-buffer-html-3b6a29575f918632f5f8.js","302":"path---api-bigarray-html-e5dc3b40e9f209aec2da.js","303":"path---api-bigarray-genarray-html-f2974d267640b6941f3c.js","304":"path---api-bigarray-array-3-html-d396c00b67100598eee5.js","305":"path---api-bigarray-array-2-html-8492ee470b77529b713c.js","306":"path---api-bigarray-array-1-html-532fbeded3954f88c3cc.js","307":"path---api-asttypes-html-6c87a94d636124f23e03.js","308":"path---api-ast-mapper-html-72c8792922542e57e2cb.js","309":"path---api-ast-helper-vb-html-80df383072b7825d8356.js","310":"path---api-ast-helper-val-html-4b702580ea63c138f84c.js","311":"path---api-ast-helper-type-html-78febc11f126ad958019.js","312":"path---api-ast-helper-typ-html-053239bde6e86b64c73c.js","313":"path---api-ast-helper-te-html-947c0adcb0a290295d17.js","314":"path---api-ast-helper-str-html-b0fae44cd09afb608c6e.js","315":"path---api-ast-helper-sig-html-c8491245850d50686bfe.js","316":"path---api-ast-helper-pat-html-c765d64ce03a452947a3.js","317":"path---api-ast-helper-opn-html-c5d3e41335989f9513a6.js","318":"path---api-ast-helper-mty-html-67930d09475d32a0e350.js","319":"path---api-ast-helper-mtd-html-bd3ae48874d091592a36.js","320":"path---api-ast-helper-mod-html-8e71c4530b6eeddd2fe8.js","321":"path---api-ast-helper-md-html-1db5587ae9b8cae10874.js","322":"path---api-ast-helper-mb-html-d8ece096348963031374.js","323":"path---api-ast-helper-incl-html-4de77d12004ff0b96a0d.js","324":"path---api-ast-helper-html-efb1f6f23cfaba69bf6d.js","325":"path---api-ast-helper-exp-html-832a0e008261d3db53bd.js","326":"path---api-ast-helper-cty-html-98
407365a233c2fb2f48a.js","327":"path---api-ast-helper-ctf-html-aac0e37ac6aef327c727.js","328":"path---api-ast-helper-cstr-html-5bce45287dcff261c5d0.js","329":"path---api-ast-helper-csig-html-06b82fe2c53f3f0e5286.js","330":"path---api-ast-helper-cl-html-b6dcfa015d019dabc185.js","331":"path---api-ast-helper-ci-html-398c3f278e8fcbf8a732.js","332":"path---api-ast-helper-cf-html-8f99f1cee63f713fa02e.js","333":"path---api-array-labels-html-5778ab53565fff198678.js","334":"path---api-array-html-01a5c63d4f57ea78e365.js","335":"path---api-arg-html-adf0222d4e39616a07c3.js","336":"app-0b8639b7d38139410e11.js"}
5            //]]>
6            </script>
6<title data-react-helmet="true">Quickstart</title><style type="text/css">
7    .anchor {
8      float: left;
9      padding-right: 4px;
10      margin-left: -20px;
11    }
12    h1 .anchor svg,
13    h2 .anchor svg,
14    h3 .anchor svg,
15    h4 .anchor svg,
16    h5 .anchor svg,
17    h6 .anchor svg {
18      visibility: hidden;
19    }
20    h1:hover .anchor svg,
21    h2:hover .anchor svg,
22    h3:hover .anchor svg,
23    h4:hover .anchor svg,
24    h5:hover .anchor svg,
25    h6:hover .anchor svg {
26      visibility: visible;
27    }
28  </style>
28<script>
29    document.addEventListener("DOMContentLoaded", function(event) {
30      var hash = location.hash.replace('#', '')
31      if (hash !== '') {
32        var element = document.getElementById(hash)
33        if (element) {
34          var offset = element.offsetTop
35          // Wait for the browser to finish rendering before scrolling.
36          setTimeout((function() {
37            window.scrollTo(0, offset - 0)
38          }), 0)
39        }
40      }
41    })
42  </script>
42<script>
43  !function(e,t,r){function n(){for(;d[0]&&"loaded"==d[0][f];)c=d.shift(),c[o]=!i.parentNode.insertBefore(c,i)}for(var s,a,c,d=[],i=e.scripts[0],o="onreadystatechange",f="readyState";s=r.shift();)a=e.createElement(t),"async"in i?(a.async=!1,e.head.appendChild(a)):i[f]?(d.push(a),a[o]=n):e.write("<"+t+' src="'+s+'" defer></'+t+">"),a.src=s}(document,"script",[
44  "/commons-e91450450b39d2894f19.js","/app-0b8639b7d38139410e11.js","/layout-component---index-97b136593a02d20e1646.js","/path---guide-javascript-quickstart-ec8788d7364ab894753e.js","/page-component---src-templates-guide-js-b98ddd748040fb94203a.js"
45])
46  </script>
46<style id="typography.js">html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}[hidden],template{display:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}button,input,optgroup,select,textarea{font:inherit;margin:0}optgroup{font-weight:700}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}html{font:112.5%/1.45em -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;box-sizing:border-box;overflow-y:scroll;}*{box-sizing:inherit;}*:before{box-sizing:inherit;}*:after{box-sizing:inherit;}body{color:#555;font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:normal;word-wrap:break-word;font-kerning:normal;-moz-font-feature-settings:"kern", "liga", "clig", "calt";-ms-font-feature-settings:"kern", "liga", "clig", "calt";-webkit-font-feature-settings:"kern", "liga", "clig", "calt";font-feature-settings:"kern", "liga", "clig", "calt";}img{max-width:100%;margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}h1{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;color:inherit;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-weight:bold;text-rendering:optimizeLegibility;font-size:2.25rem;line-height:2.9rem;}h2{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;color:inherit;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-weight:bold;text-rendering:optimizeLegibility;font-size:1.62671rem;line-height:2.175rem;}h3{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;color:inherit;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-weight:bold;text-rendering:optimizeLegibility;font-size:1.38316rem;line-height:2.175rem;}h4{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;color:inherit;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-weight:bold;text-rendering:optimizeLegibility;font-size:1rem;line-height:1.45rem;}h5{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;color:inherit;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-weight:bold;text-rendering:optimizeLegibility;font-size:0.85028rem;line-height:1.45rem;}h6{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;color:inherit;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-weight:bold;text-rendering:optimizeLegibility;font-size:0.78405rem;line-height:1.45rem;}hgroup{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}ul{margin-left:1.45rem;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;list-style-position:outside;list-style-image:none;}ol{margin-left:1.45rem;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;list-style-position:outside;list-style-image:none;}dl{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}dd{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}p{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}figure{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}pre{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;font-size:0.85rem;line-height:1.42;background:hsla(0,0%,0%,0.04);border-radius:3px;overflow:auto;word-wrap:normal;padding:1.45rem;}table{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;font-size:1rem;line-height:1.45rem;border-collapse:collapse;width:100%;}fieldset{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}blockquote{margin-left:1.45rem;margin-right:1.45rem;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}form{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}noscript{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}iframe{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}hr{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:calc(1.45rem - 1px);background:hsla(0,0%,0%,0.2);border:none;height:1px;}address{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}b{font-weight:bold;}strong{font-weight:bold;}dt{font-weight:bold;}th{font-weight:bold;}li{margin-bottom:calc(1.45rem / 2);}ol li{padding-left:0;}ul li{padding-left:0;}li > ol{margin-left:1.45rem;margin-bottom:calc(1.45rem / 2);margin-top:calc(1.45rem / 2);}li > ul{margin-left:1.45rem;margin-bottom:calc(1.45rem / 2);margin-top:calc(1.45rem / 2);}blockquote *:last-child{margin-bottom:0;}li *:last-child{margin-bottom:0;}p *:last-child{margin-bottom:0;}li > p{margin-bottom:calc(1.45rem / 2);}code{font-size:0.85rem;line-height:1.45rem;}kbd{font-size:0.85rem;line-height:1.45rem;}samp{font-size:0.85rem;line-height:1.45rem;}abbr{border-bottom:1px dotted hsla(0,0%,0%,0.5);
46cursor:help;}acronym{border-bottom:1px dotted hsla(0,0%,0%,0.5);cursor:help;}abbr[title]{border-bottom:1px dotted hsla(0,0%,0%,0.5);cursor:help;text-decoration:none;}thead{text-align:left;}td,th{text-align:left;border-bottom:1px solid hsla(0,0%,0%,0.12);font-feature-settings:"tnum";-moz-font-feature-settings:"tnum";-ms-font-feature-settings:"tnum";-webkit-font-feature-settings:"tnum";padding-left:0.96667rem;padding-right:0.96667rem;padding-top:0.725rem;padding-bottom:calc(0.725rem - 1px);}th:first-child,td:first-child{padding-left:0;}th:last-child,td:last-child{padding-right:0;}tt,code{background-color:hsla(0,0%,0%,0.04);border-radius:3px;font-family:"SFMono-Regular", Consolas,"Roboto Mono","Droid Sans Mono","Liberation Mono",Menlo,Courier,monospace;padding:0;padding-top:0.2em;padding-bottom:0.2em;}pre code{background:none;line-height:1.42;}code:before,code:after,tt:before,tt:after{letter-spacing:-0.2em;content:" ";}pre code:before,pre code:after,pre tt:before,pre tt:after{content:"";}@media only screen and (max-width:480px){html{font-size:100%;}}</style><style>.hljs{display:block;overflow-x:auto;padding:.5em;background:#fff;color:#555;-webkit-text-size-adjust:none}.hljs-comment{color:#006a00}.hljs-keyword,.hljs-literal,.nginx .hljs-title{color:#aa1094}.hljs-list .hljs-title,.hljs-name,.hljs-request,.hljs-status,.hljs-tag .hljs-title,.hljs-winutils,.http .hljs-title,.method,.setting .hljs-value,.tex .hljs-command{color:#008}.hljs-envvar,.tex .hljs-special{color:#660}.hljs-string{color:#c41a16}.apache .hljs-cbracket,.hljs-attr_selector,.hljs-cdata,.hljs-date,.hljs-filter .hljs-argument,.hljs-regexp,.hljs-tag .hljs-value{color:#080}.coffeescript .hljs-attribute,.css .hljs-function,.hljs-decorator,.hljs-function .hljs-title,.hljs-hexcolor,.hljs-number,.hljs-pi,.hljs-prompt,.hljs-rule .hljs-value,.hljs-shebang,.hljs-sub .hljs-identifier,.hljs-symbol,.hljs-symbol .hljs-string,.hljs-tag,.hljs-tag .hljs-keyword,.ini .hljs-title{color:#1c00cf}.clojure .hljs-attribute,.hljs-built_in,.hljs-class .hljs-id,.hljs-class .hljs-title,.hljs-doctype,.hljs-tag .hljs-attribute,.hljs-type,.hljs-typename,.setting,.smalltalk .hljs-class{color:#5b2f8e}.hljs-params,.hljs-variable{color:#3f6e74}.css .hljs-tag,.hljs-pseudo,.hljs-rule .hljs-property,.hljs-subst{color:#000}.css .hljs-class,.css .hljs-id{color:#9b703f}.hljs-value .hljs-important{color:#f70;font-weight:700}.hljs-rule .hljs-keyword{color:#c5af75}.apache .hljs-sqbracket,.hljs-annotation,.nginx .hljs-built_in{color:#9b859d}.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor *{color:#643820}.tex .hljs-formula{background-color:#eee;font-style:italic}.diff .hljs-header,.hljs-chunk{color:gray;font-weight:700}.diff .hljs-change{background-color:#bccff9}.hljs-addition{background-color:#baeeba}.hljs-deletion{background-color:#ffc8bd}.hljs-comment .hljs-doctag{font-weight:700}.method .hljs-id{color:#000}.hljs{background:#fbfafa;border:1px solid #eee;display:block;padding:10px;border-radius:1px;overflow:auto}td>pre{padding:5px 15px;margin:0}.markdown-content a{color:#db4d3f;text-decoration:none}.markdown-content a:hover{text-decoration:underline}.markdown-content a:visited{color:#b13c2e}.api-manual-link{color:#db4d3f;text-decoration:none}.api-manual-link:hover{text-decoration:underline}.api-manual-link:visited{color:#b13c2e}.ocamldoc{padding-top:24px;font-size:100%;line-height:1.8rem}.ocamldoc div{display:block}.ocamldoc pre{margin:0;margin:initial;padding:0;padding:initial;background:transparent none repeat 0 0/auto auto padding-box border-box scroll;background:initial;border-radius:0;border-radius:initial;overflow:visible;overflow:initial;word-wrap:normal;font-size:112.5%}.ocamldoc code{font-size:medium;line-height:normal}.ocamldoc .keyword{color:#aa1094}.ocamldoc .keywordsign{color:#c41a16}.ocamldoc .comment{color:#006a00}.ocamldoc .constructor,.ocamldoc .type{color:#5b2f8e}.ocamldoc .string{color:#c41a16}.ocamldoc .warning{color:red;font-weight:700}.ocamldoc .info,.ocamldoc .param_info{margin-left:3em;margin-right:3em}.ocamldoc .param_info{margin-top:4px}.ocamldoc .code{background:#fbfafa;border:1px solid #eee;padding:2px;border-radius:1px;overflow:auto}.ocamldoc .typetable{border-style:hidden;width:auto}.ocamldoc .paramstable{border-style:hidden;padding:5pt}.ocamldoc tr{background-color:#fff}.ocamldoc td{border:none;padding:0}.ocamldoc td.typefieldcomment{background-color:#fff;font-size:smaller}.ocamldoc div.sig_block{margin-left:2em}.ocamldoc :target{background:#ff0}.ocamldoc h1,.ocamldoc h2{margin-bottom:1.45rem;font-size:1.62671rem;line-height:2.175rem;border-bottom:1px solid #aaa}.ocamldoc .h7,.ocamldoc .h8,.ocamldoc .h9,.ocamldoc h1,.ocamldoc h2,.ocamldoc h3,.ocamldoc h4,.ocamldoc h5,.ocamldoc h6{color:inherit;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-weight:700;text-rendering:optimizeLegibility}.ocamldoc .h7,.ocamldoc .h8,.ocamldoc .h9,.ocamldoc h3,.ocamldoc h4,.ocamldoc h5,.ocamldoc h6{margin:0;margin-top:1em;margin-bottom:1rem;padding:0;font-size:1.3rem;line-height:1.45rem}.ocamldoc a{color:#db4d3f;text-decoration:none}.ocamldoc a:hover{text-decoration:underline}.ocamldoc pre{margin-bottom:4px;font-family:monospace}.ocamldoc .indextable{border-collapse:collapse}.ocamldoc .indextable td,.ocamldoc .indextable th{min-width:80px}.ocamldoc .indextable td.module>a,.ocamldoc .indextable td>.info{padding:8px 16px}.ocamldoc .indextable td>.info p{margin:0}.ocamldoc .indextable td.module{background-color:#eee}.ocamldoc .indextable td.module a{color:#4e6272;text-decoration:none;display:block;width:100%}.ocamldoc .indextable td.module a:hover{text-decoration:underline;background-color:transparent}.ocamldoc .deprecated{color:#888;font-style:italic}.ocamldoc .info-deprecated{display:block;margin:8px 0}.ocamldoc .info-deprecated .warning{display:block;padding-bottom:8px}.ocamldoc .indextable tr td div.info{margin-left:2px;margin-right:2px}.ocamldoc ul.indexlist{margin-left:0;padding-left:0}.ocamldoc ul.indexlist li{list-style-type:none;margin:0;padding-left:0}.ocamldoc ul.info-attributes{list-style:none;margin:0;padding:0}.ocamldoc .info-desc{margin-bottom:1em}.ocamldoc hr{border:none;border-bottom:1px solid #aaa;margin:16px 0}.ocamldoc .navbar{font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;padding-bottom:16px}.CodeMirror{font-family:monospace;height:300px;color:#000}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;
46left:0;right:0;top:-50px;bottom:-20px;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;-webkit-font-feature-settings:"calt";font-feature-settings:"calt";font-variant-ligatures:contextual}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background:#ffa;background:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-negative:0;flex-shrink:0;min-width:0;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}button,input{background:none;border:none;outline:none}@media (max-width:550px){pre{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}}@media (max-width:550px){body{overflow:hidden;width:100%}}</style></head><body><div id="___gatsby"><div data-reactroot="" data-reactid="1" data-react-checksum="-676875557"><!-- react-empty: 2 --><style>.css-4msjtb,[data-css-4msjtb]{background-color:#db4d3f;flex-direction:row;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;-ms-flex-pack:center;-webkit-box-pack:center;
46-webkit-justify-content:center;}</style><div class="css-4msjtb" data-reactid="3"><style>.css-1y8eyh,[data-css-1y8eyh]{color:white;}.css-11xmer7,[data-css-11xmer7]{max-width:1270px;flex:1;-webkit-flex:1;-ms-flex:1;}</style><div class="css-1y8eyh css-11xmer7" data-reactid="4"><style>.css-egx367,[data-css-egx367]{flex-direction:row;justify-content:space-between;align-items:center;padding:10px;padding-left:2em;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;-ms-flex-pack:justify;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-align:center;-webkit-box-align:center;-webkit-align-items:center;}@media(max-height: 770px){.css-egx367,[data-css-egx367]{padding-left:1em;}}@media(max-width: 400px){.css-egx367,[data-css-egx367]{padding-left:10px;height:auto;}}</style><div class="css-egx367" data-reactid="5"><div style="align-self:flex-start;" data-reactid="6"><a style="text-decoration:none;color:currentColor;" href="/" data-reactid="7"><style>.css-1o3fmbq,[data-css-1o3fmbq]{display:block;width:50px;max-width:50px;margin:0;border:2px solid #f6f4f4;box-sizing:content-box;-moz-box-sizing:content-box;}@media(max-height: 770px){.css-1o3fmbq,[data-css-1o3fmbq]{width:28px;}}</style><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAABGdBTUEAALGPC/xhBQAABh9JREFUeAHtm2toHFUUx8/s7CabbB67eaGhVWtFsWixCJX4bMT4gPSDglSLWlqqBq2SUpUiVhTFDyIIweITik0taKHF+vig+SCNFmuLVIu2iqG1ukmatJtukt1kn+Pc1T3Z7O5kJrvTzbnrGVhy7j1n7v7v/5d53UyUgc42DXgj4YCiKL0OEkpYBDrAQNAKGgEDocEBVTAQtIJGwEBocEAVDAStoBEwEBocUAUDQStoBAyEBgdUwUDQChoBA6HBAVUwELSCRsBAaHBAFQwEraARMBAaHFAFA0EraAQMhAYHVMFA0AoaAQOhwQFVMBC0gkbAQGhwQBUMBK2gETAQGhxQBQNBK2gEDIQGB1TBQNAKGgEDocEBVTAQtIJGwEBocEAVDAStoBEwEBocUAUDQStoBAyEBgdUwUDQChoBA6HBAVUwELSCRsBAaHBAFQwEraARMBAaHFAFA0EraAQMhAYHVMFA0AoaAQOhwQFVMBC0gkbAQGhwQBUMBK2gETAQGhxQBQNBK2gEDIQGB1TBQNAKGgEDocEBVTAQtIJG4CyVjCX7DhT9VVo0AsnJCUiEJiFxPgDRP07A9O+/QuTEMb09VvD4Lc++DJ4b2wvev6AdtSScvG9Vzq4lA6I4i/8qMYaj2gPpkapXrExNSEskIHzkIIx/uRemfjyUM0nTDocKdugz/Z6MAi2ZzGjNhOm5zfRIGCmqCp4bbkl9po//DCNvvgLxIb+EMwEou2uI++rlsKinF2ra72YgVBxwuN3Q3P0C1NzWQUWSZR1ld4SkZ644HNC8eRu4r7ku3SXFz7IFItxXVCc0dW3RT8zyTJPURV1LxCERPG/4m6zW1oHiqjDM50tUXLoUau/ohImv9udLz6tP3Gob3R3NayBRLMNdVvT0SfA/vc54booCzqYWqLjsCvA+sB7cVy4zrs3I1LTfZQsQ/3Nd+t3b3xkj2x/KcyyLuWsaxEfPQPjwdzC4ZSOc2/GWJUfEnZfDU2updqGL5AKS5VZw724IHfwmqze3KZ5T3MuW5yYI9kgNRPgZ+PBtS7aqvkZLdQtdJD2QmH5OT0Yipj6qXp9pDYUC6YGkrivD5hdapdJNwW9TDaRue03VGhSoviaDzEx3InB2plFgJG6553vbne+rtFg0X3eqT3ogjnofqHX1hhNMJ+LnRtNhwT8Xb99V8L6ZO55a0wHJcCizC2PpT1m1q+7EycwVxM+OzJUmk5MaiKt1Mfge7jI1U5wiYv7TpnUUCuQ8ZelP7LUdq6HhkcfBUVlp6mPo+37QpsKmdRQKSAFRvY3gfXCDoS9qnRdcrYug4pLLU0sohoVZiYm+z7N66DZJAXH6GqBh7UZb3YqNDMHU0cO2jnkhB5P6GmJmjFg9HnnjJcOVVbP9FyJP6gix24DAju0QOX7MtmFjw4Mw6xlCX+wUD6b/biIWzcx2qgPT/xXMuYRftkCCn+2B4Kcf2wZDDDT0YvcFX34vOyCJ8SCM9rwG4UP9tsIo1WBlBUSLxcC/eT3ER4ZL5Z/t31NWF3XF5dJf/7nHdpNKOSCpI0T8NTCw+wPD+XvvXas/gywxzIuEb806CPX3QWzwrznrqCZJAUlMjsNk3xeGXiX168NF2143zIuEWI1t2rQVhp5/cs46qkmpTlnhH76F6d9+MfWy6toV+tJKp2ndfAtSS+9OF4BdH/2d4uyN1BGSLS5fO9D7LrS+2pMvNauvYcOm1MsQxbwVP2tAvWHX8nt63LE9O2Fs5zvpZuqnVEeIUDz90xGY0j9mm1pTB42PdpuVkctLB0Q4KI4SK1vNrR1QdX2blVIyNVICiejXkZDFB7+mJ54BWf6eLn4rpAQihI/tei9j3Uj05N9cLReD76HH8icJ9koLJHpqAEIHvrZkaf3q+6Fi6VWWahe6SFogwrjAR++DWGI328Sbi81PbZXiLfiS3fZGLfxNO35myMzbWXnxb2vB/Z9A9cqbZ/XnayjuKvDcdHvqKT47nwiMghV92fsV206O577prwx0tqUX8Isdn/cv0gFFUXqlPmUVOX+SuzMQYlgYCAMh5gAxOXyEMBBiDhCTw0cIMSBOBZSjxDT9f+Uo8Oc/4JtPde0zwz8AAAAASUVORK5CYII=" width="50" alt="Reason" class="css-1o3fmbq" data-reactid="8"/></a></div><style>.css-hahv5g,[data-css-hahv5g]{flex-wrap:wrap;flex-direction:row;flex:1;justify-content:flex-end;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;-webkit-box-lines:multiple;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;-webkit-flex:1;-ms-flex:1;-ms-flex-pack:end;-webkit-box-pack:end;-webkit-justify-content:flex-end;}</style><div class="css-hahv5g" data-reactid="9"><style>.css-1bhj9ca,[data-css-1bhj9ca]{padding:0 15px;white-space:nowrap;}@media(max-width: 550px){.css-1bhj9ca,[data-css-1bhj9ca]{padding:0 5px;font-size:.9em;}}@media(max-height: 770px){.css-1bhj9ca,[data-css-1bhj9ca]{font-size:.9em;}}.css-1coze92,[data-css-1coze92]{text-decoration:none;color:currentColor;}.css-1coze92:hover,[data-css-1coze92]:hover{text-decoration:underline;}</style><a class="css-1bhj9ca css-1coze92" href="/guide/javascript/quickstart" data-reactid="10">Quick Start</a><a class="css-1bhj9ca css-1coze92" href="/try/" data-reactid="11">Try</a><a class="css-1bhj9ca css-1coze92" href="/guide/" data-reactid="12">Guide</a><a class="css-1bhj9ca css-1coze92" href="/api/index.html" data-reactid="13">API</a><a class="css-1bhj9ca css-1coze92" href="/community/" data-reactid="14">Community</a><a class="css-1bhj9ca css-1coze92" href="/community/blog/" data-reactid="15">Blog</a><a href="https://github.com/facebook/reason" class="css-1bhj9ca css-1coze92" data-reactid="16">GitHub</a></div></div><style>.css-1k8tu3j,[data-css-1k8tu3j]{align-items:center;-ms-flex-align:center;-webkit-box-align:center;-webkit-align-items:center;}</style><div class="css-1k8tu3j" data-reactid="17"><h1 data-reactid="18"><a class="css-1coze92" href="/guide" data-reactid="19">Guide</a></h1></div></div></div><style>.css-1q2z82c,[data-css-1q2z82c]{flex-direction:row;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;-ms-flex-pack:center;-webkit-box-pack:center;
46-webkit-justify-content:center;}</style><div class="css-1q2z82c" data-reactid="20"><style>.css-gokz6l,[data-css-gokz6l]{flex-direction:row;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;}@media(max-width: 800px){.css-gokz6l,[data-css-gokz6l]{flex-direction:column-reverse;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;}}</style><div class="css-gokz6l css-11xmer7" data-reactid="21"><style></style><div class="css-nil" data-reactid="22"><style>.css-kl1cbt,[data-css-kl1cbt]{width:11.6rem;min-height:100%;padding:20px;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background:#f6f4f4;}@media(max-width: 800px){.css-kl1cbt,[data-css-kl1cbt]{font-size:1rem;line-height:1.45rem;width:auto;}}</style><div class="css-kl1cbt" data-reactid="23"><style>.css-ue26qd,[data-css-ue26qd]{padding:0.48333rem 0.725rem;}</style><div class="css-ue26qd" data-reactid="24"><style>.css-1vfqoti,[data-css-1vfqoti]{text-decoration:none;color:currentColor;font-size:0.85028rem;line-height:1.45rem;display:-webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex;}.css-1vfqoti:hover,[data-css-1vfqoti]:hover{color:#db4d3f;}@media(max-width: 800px){.css-1vfqoti,[data-css-1vfqoti]{padding:0.3625rem;}}</style><a class="css-1vfqoti css-1coze92" href="/guide/search" data-reactid="25"><!-- react-text: 26 -->Search<!-- /react-text --><style>.css-1h1rahf,[data-css-1h1rahf]{width:15px;height:15px;margin-left:auto;align-self:center;-ms-flex-item-align:center;-webkit-align-self:center;}</style><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15" class="css-1h1rahf" data-reactid="27"><path fill="#555" d="M6.213 12.548C2.783 12.548 0 9.738 0 6.274 0 2.81 2.782 0 6.213 0c3.432 0 6.214 2.81 6.214 6.274 0 1.358-.428 2.616-1.154 3.643L15 13.482 13.576 15l-3.77-3.606c-1.015.727-2.254 1.154-3.593 1.154zm0-2.09c2.288 0 4.143-1.874 4.143-4.184S8.5 2.09 6.213 2.09c-2.287 0-4.142 1.874-4.142 4.184s1.856 4.183 4.143 4.183z" data-reactid="28"></path></svg></a><div class="css-nil" data-reactid="29"><style>.css-1kea2mb,[data-css-1kea2mb]{list-style:none;margin:0;padding:0;padding-left:0;margin-left:0;border-left:none;}</style><ul class="css-1kea2mb" data-reactid="30"><li style="margin:0;padding:0;" data-reactid="31"><style>.css-tux5bs,[data-css-tux5bs]{text-decoration:none;color:currentColor;font-size:0.85028rem;line-height:1.45rem;display:block;font-weight:bold;margin-top:1em;margin-bottom:.25em;}.css-tux5bs:hover,[data-css-tux5bs]:hover{color:#db4d3f;}@media(max-width: 800px){.css-tux5bs,[data-css-tux5bs]{padding:0.3625rem;}}</style><a class="css-tux5bs css-1coze92" href="/guide/what-and-why" data-reactid="32">What &amp; Why</a></li><li style="margin:0;padding:0;" data-reactid="33"><div class="css-nil" data-reactid="34"><a class="css-tux5bs css-1coze92" href="/guide/editor-tools" data-reactid="35">Editor Setup</a><style>.css-1ov2kq7,[data-css-1ov2kq7]{list-style:none;margin:0;padding:0;padding-left:0.48333rem;margin-left:0;}</style><ul class="css-1ov2kq7" data-reactid="36"><li style="margin:0;padding:0;" data-reactid="37"><style>.css-1h8whs6,[data-css-1h8whs6]{text-decoration:none;color:currentColor;font-size:0.85028rem;line-height:1.45rem;display:block;}.css-1h8whs6:hover,[data-css-1h8whs6]:hover{color:#db4d3f;}@media(max-width: 800px){.css-1h8whs6,[data-css-1h8whs6]{padding:0.3625rem;}}</style><a class="css-1h8whs6 css-1coze92" href="/guide/editor-tools/global-installation" data-reactid="38">Global Installation</a></li><li style="margin:0;padding:0;" data-reactid="39"><a class="css-1h8whs6 css-1coze92" href="/guide/editor-tools/editors-plugins" data-reactid="40">Editors Plugins</a></li><li style="margin:0;padding:0;" data-reactid="41"><a class="css-1h8whs6 css-1coze92" href="/guide/editor-tools/extra-goodies" data-reactid="42">Extra Goodies</a></li></ul></div></li><li style="margin:0;padding:0;" data-reactid="43"><div class="css-nil" data-reactid="44"><a class="css-tux5bs css-1coze92" href="/guide/language" data-reactid="45">Language basics</a><ul class="css-1ov2kq7" data-reactid="46"><li style="margin:0;padding:0;" data-reactid="47"><a class="css-1h8whs6 css-1coze92" href="/guide/language/overview" data-reactid="48">Overview</a></li><li style="margin:0;padding:0;" data-reactid="49"><a class="css-1h8whs6 css-1coze92" href="/guide/language/let-binding" data-reactid="50">Let Binding</a></li><li style="margin:0;padding:0;" data-reactid="51"><a class="css-1h8whs6 css-1coze92" href="/guide/language/type" data-reactid="52">Type!</a></li><li style="margin:0;padding:0;" data-reactid="53"><a class="css-1h8whs6 css-1coze92" href="/guide/language/string-and-char" data-reactid="54">String &amp; Char</a></li><li style="margin:0;padding:0;" data-reactid="55"><a class="css-1h8whs6 css-1coze92" href="/guide/language/boolean" data-reactid="56">Boolean</a></li><li style="margin:0;padding:0;" data-reactid="57"><a class="css-1h8whs6 css-1coze92" href="/guide/language/integer-
46and-float" data-reactid="58">Integer &amp; Float</a></li><li style="margin:0;padding:0;" data-reactid="59"><a class="css-1h8whs6 css-1coze92" href="/guide/language/tuple" data-reactid="60">Tuple</a></li><li style="margin:0;padding:0;" data-reactid="61"><a class="css-1h8whs6 css-1coze92" href="/guide/language/record" data-reactid="62">Record</a></li><li style="margin:0;padding:0;" data-reactid="63"><a class="css-1h8whs6 css-1coze92" href="/guide/language/variant" data-reactid="64">Variant!</a></li><li style="margin:0;padding:0;" data-reactid="65"><a class="css-1h8whs6 css-1coze92" href="/guide/language/list-and-array" data-reactid="66">List &amp; Array</a></li><li style="margin:0;padding:0;" data-reactid="67"><a class="css-1h8whs6 css-1coze92" href="/guide/language/function" data-reactid="68">Function</a></li><li style="margin:0;padding:0;" data-reactid="69"><a class="css-1h8whs6 css-1coze92" href="/guide/language/if-else" data-reactid="70">If-Else</a></li><li style="margin:0;padding:0;" data-reactid="71"><a class="css-1h8whs6 css-1coze92" href="/guide/language/more-on-type" data-reactid="72">More on Type</a></li><li style="margin:0;padding:0;" data-reactid="73"><a class="css-1h8whs6 css-1coze92" href="/guide/language/destructuring" data-reactid="74">Destructuring</a></li><li style="margin:0;padding:0;" data-reactid="75"><a class="css-1h8whs6 css-1coze92" href="/guide/language/pattern-matching" data-reactid="76">Pattern Matching!</a></li><li style="margin:0;padding:0;" data-reactid="77"><a class="css-1h8whs6 css-1coze92" href="/guide/language/mutation" data-reactid="78">Mutation</a></li><li style="margin:0;padding:0;" data-reactid="79"><a class="css-1h8whs6 css-1coze92" href="/guide/language/imperative-loops" data-reactid="80">Imperative Loops</a></li><li style="margin:0;padding:0;" data-reactid="81"><a class="css-1h8whs6 css-1coze92" href="/guide/language/jsx" data-reactid="82">JSX</a></li><li style="margin:0;padding:0;" data-reactid="83"><a class="css-1h8whs6 css-1coze92" href="/guide/language/external" data-reactid="84">External</a></li><li style="margin:0;padding:0;" data-reactid="85"><a class="css-1h8whs6 css-1coze92" href="/guide/language/exception" data-reactid="86">Exception</a></li><li style="margin:0;padding:0;" data-reactid="87"><a class="css-1h8whs6 css-1coze92" href="/guide/language/object" data-reactid="88">Object</a></li><li style="margin:0;padding:0;" data-reactid="89"><a class="css-1h8whs6 css-1coze92" href="/guide/language/module" data-reactid="90">Module</a></li></ul></div></li><li style="margin:0;padding:0;" data-reactid="91"><div class="css-nil" data-reactid="92"><a class="css-tux5bs css-1coze92" href="/guide/javascript" data-reactid="93">JavaScript</a><ul class="css-1ov2kq7" data-reactid="94"><li style="margin:0;padding:0;" data-reactid="95"><style>.css-1pmyac3,[data-css-1pmyac3]{text-decoration:underline;color:#db4d3f;font-size:0.85028rem;line-height:1.45rem;display:block;text-decoration-color:#db4d3f;-webkit-text-decoration-color:#db4d3f;-moz-text-decoration-color:#db4d3f;}.css-1pmyac3:hover,[data-css-1pmyac3]:hover{color:#db4d3f;}@media(max-width: 800px){.css-1pmyac3,[data-css-1pmyac3]{padding:0.3625rem;}}</style><a class="css-1pmyac3 css-1coze92" href="/guide/javascript/quickstart" data-reactid="96">Quickstart</a></li><li style="margin:0;padding:0;" data-reactid="97"><a class="css-1h8whs6 css-1coze92" href="/guide/javascript/interop" data-reactid="98">Interop</a></li><li style="margin:0;padding:0;" data-reactid="99"><a class="css-1h8whs6 css-1coze92" href="/guide/javascript/syntax-cheatsheet" data-reactid="100">Syntax Cheatsheet</a></li><li style="margin:0;padding:0;" data-reactid="101"><a class="css-1h8whs6 css-1coze92" href="/guide/javascript/libraries" data-reactid="102">Libraries</a></li><li style="margin:0;padding:0;" data-reactid="103"><a class="css-1h8whs6 css-1coze92" href="/guide/javascript/converting" data-reactid="104">Converting from JS</a></li></ul></div></li><li style="margin:0;padding:0;" data-reactid="105"><div class="css-nil" data-reactid="106"><a class="css-tux5bs css-1coze92" href="/guide/native" data-reactid="10
467">Native</a><ul class="css-1ov2kq7" data-reactid="108"><li style="margin:0;padding:0;" data-reactid="109"><a class="css-1h8whs6 css-1coze92" href="/guide/native/quickstart" data-reactid="110">Quickstart</a></li><li style="margin:0;padding:0;" data-reactid="111"><a class="css-1h8whs6 css-1coze92" href="/guide/native/convert-from-ocaml" data-reactid="112">Converting from OCaml</a></li></ul></div></li><li style="margin:0;padding:0;" data-reactid="113"><a class="css-tux5bs css-1coze92" href="/guide/ocaml" data-reactid="114">Comparison to OCaml</a></li><li style="margin:0;padding:0;" data-reactid="115"><a class="css-tux5bs css-1coze92" href="/guide/examples" data-reactid="116">Examples</a></li><li style="margin:0;padding:0;" data-reactid="117"><div class="css-nil" data-reactid="118"><a class="css-tux5bs css-1coze92" href="/guide/meta" data-reactid="119">Meta</a><ul class="css-1ov2kq7" data-reactid="120"><li style="margin:0;padding:0;" data-reactid="121"><a class="css-1h8whs6 css-1coze92" href="/guide/meta/project-structure" data-reactid="122">Project Structure</a></li></ul></div></li></ul></div></div></div></div><style>.css-1kzda52,[data-css-1kzda52]{position:relative;flex:1;padding:2em;min-width:0;-webkit-flex:1;-ms-flex:1;}</style><div class="css-1kzda52" data-reactid="123"><style>.css-9ibhmh,[data-css-9ibhmh]{border-bottom:1px solid rgb(214, 212, 212);display:-webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex;flex-direction:row;justify-content:space-between;align-items:flex-end;padding-bottom:4px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;-ms-flex-pack:justify;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-align:end;-webkit-box-align:end;-webkit-align-items:flex-end;}</style><h2 class="css-9ibhmh" data-reactid="124"><!-- react-text: 125 -->Quickstart<!-- /react-text --><style>.css-rx9qxa,[data-css-rx9qxa]{font-size:14px;font-weight:normal;line-height:25px;}</style><a href="https://github.com/reasonml/reasonml.github.io/edit/source/src/pages/guide/javascript/quickstart.md" class="css-rx9qxa css-1coze92" data-reactid="126"><style>.css-1wlzwls,[data-css-1wlzwls]{margin-bottom:0;}@media(min-width: 800px){.css-1wlzwls,[data-css-1wlzwls]{display:none;}}</style><img src="data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjNTU1IiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik0zIDE3LjI1VjIxaDMuNzVMMTcuODEgOS45NGwtMy43NS0zLjc1TDMgMTcuMjV6TTIwLjcxIDcuMDRjLjM5LS4zOS4zOS0xLjAyIDAtMS40MWwtMi4zNC0yLjM0Yy0uMzktLjM5LTEuMDItLjM5LTEuNDEgMGwtMS44MyAxLjgzIDMuNzUgMy43NSAxLjgzLTEuODN6Ii8+CiAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+Cjwvc3ZnPgo=" class="css-1wlzwls" data-reactid="127"/><style>@media(max-width: 800px){.css-1s27rpk,[data-css-1s27rpk]{display:none;}}</style><span class="css-1s27rpk" data-reactid="128">Suggest an edit</span></a></h2><div class="markdown-content" data-reactid="129"><div class="gatsby-highlight">
47      <pre class="hljs lang-sh"><code>npm install -g bs-platform
48bsb -init my-first-app -theme basic-reason</code></pre>
49      </div>
50<p>And then run it as usual:</p>
51<div class="gatsby-highlight">
52      <pre class="hljs lang-sh"><code><span class="hljs-built_in">cd</span> my-first-app
53npm run start</code></pre>
54      </div>
55<p>It runs in watch mode, so any changes to files will be picked up and compiled.</p>
56<p>That's all! This compiles Reason to Javascript in the <code>lib/js/</code> folder.</p>
57<ul>
58<li>
59<p>Read more about how we compile to JavaScript through our partner project, <a href="http://bucklescript.github.io/bucklescript/Manual.html">BuckleScript</a>.</p>
60</li>
61<li>
62<p>Alternatively, <strong>to start a <a href="https://reasonml.github.io/reason-react/docs/en/installation.html">ReasonReact</a> app</strong>, try <code>bsb -init my-react-app -theme react</code>.</p>
63</li>
64<li>
65<p>Head over to <a href="/guide/editor-tools/global-installation">Editor Setup</a> to get the Reason plugin for your favorite editor!</p>
66</li>
67</ul></div><style>.css-13c95cv,[data-css-13c95cv]{flex-direction:row;justify-content:space-between;padding-top:32px;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;-ms-flex-pack:justify;-webkit-box-pack:justify;
67-webkit-justify-content:space-between;}</style><div class="css-13c95cv" data-reactid="130"><div data-reactid="131"><a class="css-1coze92" href="/guide/javascript" data-reactid="132"><span data-reactid="133">← Previous</span></a></div><div data-reactid="134"><a class="css-1coze92" href="/guide/javascript/interop" data-reactid="135"><span data-reactid="136">Next →</span></a></div></div></div></div></div></div></div></body></html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.