[Sussex] Yet Another Windows Bug

Mark Harrison Mark at ascentium.co.uk
Mon May 5 20:56:01 UTC 2003


The morality of bug patching explained in Haskell :-)



Starting Hugs98 (Haskell compatability mode)

> :c
Entering function definition mode

> Scenario system, system :: action
> Scenario A, B == "Fans of A spot bug in B app, and write code to exploit and
crash"
> :r
Compiling lambda code.... Done
Entering evaluation mode

> Scenario bibble, bobble
"Fans of bibble spot bug in bobble app, and write code to exploit and crash"

> :c
Entering function definition mode

> Morality system , system -> action :: "Good" | "Evil"
> Morality Scenario Microsoft Linux == "Evil"
> Morality Scenario Linux Microsoft == "Good"

> :r
Compiling lambda code... Done
Entering evaluation mode

> Scenario Linux Microsoft
"Fans of Linux spot bug in Microsoft app, and write code to exploit and crash"
> Morality Scenario Linux Microsoft
"Good"

> Scenario Microsoft Linux
"Fans of Microsoft spot bug in Linux  app, and write code to exploit and crash"
> Morality Scenario Microsoft Linux
"Evil"

> :q
Exiting. Thanks for using Hugs





More information about the Sussex mailing list