Skip to content

Instantly share code, notes, and snippets.

View CThuleHansen's full-sized avatar

Casper Thule CThuleHansen

  • Aarhus University
View GitHub Profile
// ConsoleApplication1.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream>
#include <Windows.h>
using namespace std;
#include <strsafe.h>
(<*>) ::
ExactlyOne (a -> b)
-> ExactlyOne a
-> ExactlyOne b
(<*>) (ExactlyOne f) = (<$>) f
class controller
types
pos = <A> | <B> | <C>;
vehicle :: ID: token
size : int
position: pos;
area :: ID : token
size : int
position: pos
dyld: lazy symbol binding failed: Symbol not found: _setup
Referenced from: /var/folders/nj/vm2h1dns1418tt089bntj5tw0000gn/T/ghc35324_0/libghc_1.dylib
Expected in: flat namespace
dyld: Symbol not found: _setup
Referenced from: /var/folders/nj/vm2h1dns1418tt089bntj5tw0000gn/T/ghc35324_0/libghc_1.dylib
Expected in: flat namespace
cabal: repl failed for flib:HFMU from hfmu-0.1.0.0. The build process
terminated with exit code -6
/*
* #%~
* VDM to Isabelle Translation
* %%
* Copyright (C) 2008 - 2015 Overture
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
case TR.readEither parameterValue of
Left x -> Left $ "Failed to convert " ++ parameterName ++ " to an Int."
Right x -> Right x
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
-- For aeson generic
{-# LANGUAGE DeriveGeneric #-}
module Lib
( someFunc
) where
import qualified FMUAnalyzer
import qualified VDMCheck
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
-- For aeson generic
{-# LANGUAGE DeriveGeneric #-}
module Lib
( someFunc
) where
import qualified FMUAnalyzer
import qualified VDMCheck