Skip to content

Instantly share code, notes, and snippets.

View uhbif19's full-sized avatar

Gregory Gerasev uhbif19

View GitHub Profile
@alpmestan
alpmestan / ghc.diff
Created October 7, 2017 00:39
Adding :kind!! to ghci, for expanding type families _AND_ type synonyms
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs
index 32e581a10d..b320ef42ce 100644
--- a/ghc/GHCi/UI.hs
+++ b/ghc/GHCi/UI.hs
@@ -76,6 +76,7 @@ import Linker
import Maybes ( orElse, expectJust )
import NameSet
import Panic hiding ( showException )
+import Type ( expandTypeSynonyms )
import Util

I came across Nile for the first time in 2011

When Alan Kay presented his talk "Programming and Scaling" (https://www.youtube.com/watch?v=y9xLi0iJg1g best watch the whole talk!) The Idea to create an Approach that satisfies the users demands for personal computing in less than 10000 lines of Code, powered by DSL and other advanced concepts, seemed intriguing.

I searched the web and there was little to noting I found.

Later I found this talk in that at the end Dan Amelang also answers QA: https://www.youtube.com/watch?v=ubaX1Smg6pY.

The Problem with the STEPTS project is that you need all the parts together: Maru, Nile, Gezira etc..

@Mithrandir0x
Mithrandir0x / gist:3639232
Created September 5, 2012 16:15
Difference between Service, Factory and Provider in AngularJS
// Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc
// jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/
// author: Pawel Kozlowski
var myApp = angular.module('myApp', []);
//service style, probably the simplest one
myApp.service('helloWorldFromService', function() {
this.sayHello = function() {
return "Hello, World!"