{"action":"created","issue":{"url":"https://api.github.com/repos/fable-compiler/Fable/issues/706","repository_url":"https://api.github.com/repos/fable-compiler/Fable","labels_url":"https://api.github.com/repos/fable-compiler/Fable/issues/706/labels{/name}","comments_url":"https://api.github.com/repos/fable-compiler/Fable/issues/706/comments","events_url":"https://api.github.com/repos/fable-compiler/Fable/issues/706/events","html_url":"https://github.com/fable-compiler/Fable/issues/706","id":206541923,"number":706,"title":"\"Getting started\" guide probably needed (also a weird error)","user":{"login":"boxed","id":332428,"avatar_url":"https://avatars.githubusercontent.com/u/332428?v=3","gravatar_id":"","url":"https://api.github.com/users/boxed","html_url":"https://github.com/boxed","followers_url":"https://api.github.com/users/boxed/followers","following_url":"https://api.github.com/users/boxed/following{/other_user}","gists_url":"https://api.github.com/users/boxed/gists{/gist_id}","starred_url":"https://api.github.com/users/boxed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boxed/subscriptions","organizations_url":"https://api.github.com/users/boxed/orgs","repos_url":"https://api.github.com/users/boxed/repos","events_url":"https://api.github.com/users/boxed/events{/privacy}","received_events_url":"https://api.github.com/users/boxed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-02-09T15:46:43Z","updated_at":"2017-02-23T21:08:47Z","closed_at":null,"body":"### Description\r\n\r\nI am trying to use fable to make a test web app. I have no previous experience with F# and am using Visual Studio for Mac for the first time. There's a lot of test on fable.io but nothing that seems to be a getting started guide really. \r\n\r\nI created a blank console project and tried doing a fable compile and got \r\n\r\n```\r\n✗ fable FSharpTest.fsproj \r\nfable-compiler 0.7.42: Start compilation...\r\nF# project contains errors:\r\n/Users/boxed/Projects/FSharpTest/FSharpTest/Program.fs(L4,0) : error FSHARP: Files in libraries or multiple-file applications must begin with a namespace or module declaration, e.g. 'namespace SomeNamespace.SubNamespace' or 'module SomeNamespace.SomeModule'. Only the last source file of an application may omit such a declaration.\r\n```\r\nthe error message seems wrong since there's exactly 1 file, so it should by definition be the last source file :P\r\n\r\n### Repro code\r\n\r\n```\r\n// Learn more about F# at http://fsharp.net\r\n// See the 'F# Tutorial' project for more help.\r\n\r\n[<EntryPoint>]\r\nlet main argv = \r\n    printfn \"%A\" argv\r\n    0 // return an integer exit code\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fable-compiler/Fable/issues/comments/282121663","html_url":"https://github.com/fable-compiler/Fable/issues/706#issuecomment-282121663","issue_url":"https://api.github.com/repos/fable-compiler/Fable/issues/706","id":282121663,"user":{"login":"alfonsogarciacaro","id":8275461,"avatar_url":"https://avatars.githubusercontent.com/u/8275461?v=3","gravatar_id":"","url":"https://api.github.com/users/alfonsogarciacaro","html_url":"https://github.com/alfonsogarciacaro","followers_url":"https://api.github.com/users/alfonsogarciacaro/followers","following_url":"https://api.github.com/users/alfonsogarciacaro/following{/other_user}","gists_url":"https://api.github.com/users/alfonsogarciacaro/gists{/gist_id}","starred_url":"https://api.github.com/users/alfonsogarciacaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfonsogarciacaro/subscriptions","organizations_url":"https://api.github.com/users/alfonsogarciacaro/orgs","repos_url":"https://api.github.com/users/alfonsogarciacaro/repos","events_url":"https://api.github.com/users/alfonsogarciacaro/events{/privacy}","received_events_url":"https://api.github.com/users/alfonsogarciacaro/received_events","type":"User","site_admin":false},"created_at":"2017-02-23T21:08:47Z","updated_at":"2017-02-23T21:08:47Z","body":"Hi @simax! There're two Fable projects inspired by Elm at the moment: [fable-elmish](https://github.com/fable-compiler/fable-elmish) which works with React and have almost the same API (I think) as Elm and [fable-arch](http://fable.io/fable-arch/#/), which is also inspired by Elm but has a different API."}}
{"actor":{"display_login":"alfonsogarciacaro"}}