Skip to content

Instantly share code, notes, and snippets.

@StachuDotNet
Created April 11, 2019 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StachuDotNet/fd731807be4b71286107977a2be1028f to your computer and use it in GitHub Desktop.
Save StachuDotNet/fd731807be4b71286107977a2be1028f to your computer and use it in GitHub Desktop.
Created with Fable REPL
html,
body {
font-size: 16px;
}
.main-container {
display: flex;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
flex-direction: column;
}
.input {
padding: .25rem;
font-size: 16px;
width: 250px;
margin-bottom: 1rem;
}
printfn "Hello, Southern Fried F#!"
printfn "It is %A" System.DateTime.Now
[1 .. int <| System.Math.Pow(10., 2.)]
|> Seq.sum
|> printfn "Sum of 1-100: %i"
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<script src="__HOST__/libs/react.production.min.js"></script>
<script src="__HOST__/libs/react-dom.production.min.js"></script>
</head>
<body class="app-container">
<div id="elmish-app" class="elmish-app"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment