mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Remove the broken playground.
This commit is contained in:
parent
9654536de1
commit
29dcc19069
@ -1,17 +0,0 @@
|
||||
import Doubt
|
||||
|
||||
func fix<T, U>(f: (T -> U) -> T -> U) -> T -> U {
|
||||
return { f(fix(f))($0) }
|
||||
}
|
||||
|
||||
let atom = Syntax<Fix>.Variable <^> ^("abcdefghijklmnopqrstuvwxyz".characters.map { String($0) })
|
||||
let ws = ^(" \t\n".characters.map { String($0) })
|
||||
|
||||
let sexpr: String -> State<Fix>? = fix { sexpr in
|
||||
let list = Syntax<Fix>.Apply <^> (ws* *> ^"(" *> ws* *> sexpr <*> sexpr* <* ^")")
|
||||
return Fix.init <^> (atom <|> list) <* ws*
|
||||
}
|
||||
|
||||
if let s = sexpr("\t(\n( a) \n)\t")?.value, t = sexpr("((a))")?.value {
|
||||
Diff(s, t)
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<playground version='5.0' target-platform='osx' requires-full-environment='true' display-mode='rendered'>
|
||||
<timeline fileName='timeline.xctimeline'/>
|
||||
</playground>
|
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Timeline
|
||||
version = "3.0">
|
||||
<TimelineItems>
|
||||
</TimelineItems>
|
||||
</Timeline>
|
@ -33,7 +33,6 @@
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
D443F4D61BA3157700049A57 /* Doubt.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; path = Doubt.playground; sourceTree = "<group>"; };
|
||||
D4AAE4FD1B5AE22E004E581F /* Doubt.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Doubt.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
D4AAE5011B5AE22E004E581F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||
D4AAE50D1B5AE22E004E581F /* DoubtTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DoubtTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
@ -74,7 +73,6 @@
|
||||
D4AAE4F31B5AE22E004E581F = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
D443F4D61BA3157700049A57 /* Doubt.playground */,
|
||||
D4AAE4FF1B5AE22E004E581F /* Doubt */,
|
||||
D4AAE5111B5AE22E004E581F /* DoubtTests */,
|
||||
D4AAE4FE1B5AE22E004E581F /* Products */,
|
||||
|
Loading…
Reference in New Issue
Block a user