1
Name:
Anonymous
2014-11-12 21:08
http://news.microsoft.com/2014/11/12/microsoft-takes-net-open-source-and-cross-platform-adds-new-development-capabilities-with-visual-studio-2015-net-2015-and-visual-studio-online/ They throw around terms like open-source, but that doesn't usually mean what you want it to when MS says it, so who knows. There's also a free version of VS for small teams which is apparently feature-complete or nearly so.
41
Name:
Anonymous
2014-11-18 8:01
Actually the naive implementation for laziness is enough to get linear time on that example.(defclass promise () ((cached-value :accessor get-cached-value :initarg :cached-value :initform nil) (evaluated :accessor is-evaluated :initarg :evaluated :initform nil) (generator :accessor get-generator :initarg :generator))) (defmethod force ((self promise)) (with-slots (cached-value evaluated generator) self (if evaluated ;; replace with nil to get exponential time cached-value (progn (setf cached-value (funcall generator)) (setf evaluated t) cached-value)))) (defun make-promise (generator) (make-instance 'promise :generator generator)) (defmacro delay (expression) `(make-promise (lambda () ,expression))) (defun lazy-map (fn l1 l2) (if (or (null l1) (null l2)) nil (cons (funcall fn (car l1) (car l2)) (delay (lazy-map fn (force (cdr l1)) (force (cdr l2))))))) (defvar fibs2 nil) (setf fibs2 (cons 1 (delay (cons 1 (delay (lazy-map #'+ fibs2 (force (cdr fibs2))))))))
Thanks for the challenge haskell-san
42
Name:
Anonymous
2017-01-30 6:04
So when will the Linux kernel be ported to .NET?
43
Name:
Anonymous
2017-01-30 14:21
>>42 When microsoft decides to prove a point. Embrace, Extend, Extinguish.
47
Name:
Anonymous
2017-02-01 7:54
implement diff to compare anus with extended anus