[ Launch: test ] 11129617 by philderbeast[ Launch: test ] 4653053 by enjalot[ Launch: test ] 4652017 by enjalot[ Launch: test ] 4582399 by enjalot
namespace VideoCaptureInFSharp | |
open System | |
open System.Drawing | |
open System.IO | |
open MonoTouch.Foundation | |
open MonoTouch.UIKit | |
open MonoTouch.AVFoundation | |
open MonoTouch.CoreMedia | |
open MonoTouch.CoreGraphics |
open System | |
open System.Collections.Generic | |
type IMonoid<'T> = | |
abstract member mempty : unit -> 'T | |
abstract member mappend : 'T * 'T -> 'T | |
type MonoidAssociations private() = | |
static let associations = new Dictionary<Type, obj>() | |
static member Add<'T>(monoid : IMonoid<'T>) = associations.Add(typeof<'T>, monoid) |
\documentclass{article} | |
\begin{document} | |
\thispagestyle{empty} | |
$$ \left\{\frac{block}{scope}\right\} $$ | |
\end{document} |
[ Launch: Simple multi-line chart2 ] 866260735bc84014d323 by philderbeast[ Launch: Simple multi-line chart2 ] 4692180 by vjpgo[ Launch: Simple multi-line chart ] 4566902 by biovisualize[ Launch: just another inlet to tributary ] 4560034 by biovisualize
// A difference of F# to C# is tupled versus curried function arguments. | |
// I suggest this F# function application style; | |
// * Separate functions from their arguments with a space. | |
// * Only use parens with tuples or when adding type annotations to curried args. | |
let f x = x | |
let add x y = x + y | |
let add' (x, y) = x + y | |
let y = f 1 // not f(1) |
import Data.List | |
-- This code solves Sudoku puzzles using a magical function called Loeb. | |
-- | |
-- Loeb allows you to define a list of functions which resolves into a list | |
-- of values, allowing the list to self-reference. In the case of Sudoku, the | |
-- solver code will terminate only in the case where the Sudoku puzzle has | |
-- a unique solution. | |
-- | |
-- The code starts with a 1-dimensional list (representing the 2-dimensional |
With the end of Mercury, attention turned to Gemini and Apollo. Both programs were growing like mad - in the case of Gemini, growing out of control. Originally budgeted at aronud $530 million, it was now expected to price out at twice that - or more. Every element of Gemini cost more than the original estimate: the basic spacecraft, the Titan 2 launch vehicle, the Atlas-Agena target vehicle, the ejection seats, the fuel cells. Money was spent on the idea of flying Gemini to touchdown on return to earth using an inflatable wing a plan that never really had a prayer of working, but it ate up a couple of years and a few million bucks. (The North American test pilot for the Rogallo wing happened to be Jack Swigert, my former roommate from the astronaut interview week.)
SOURCE: We Have Capture: Tom Stafford and the Space Race by Thomas P. Stafford with Michael Cassutt
-
create-react-native-app purescript-app; cd purescript-app
-
pulp init --force
-
pulp build
-
src/Main.js
var React = require("react");
var RN = require("react-native");
exports.text = function(props){