mirror of
https://github.com/github/semantic.git
synced 2024-12-14 17:31:48 +03:00
defineBuiltIn already returns ().
This commit is contained in:
parent
fa950f3239
commit
3d962c40c7
@ -136,16 +136,16 @@ instance HasPrelude 'PHP
|
||||
|
||||
instance HasPrelude 'Python where
|
||||
definePrelude _ =
|
||||
void $ defineBuiltIn (Declaration $ X.name "print") Print
|
||||
defineBuiltIn (Declaration $ X.name "print") Print
|
||||
|
||||
instance HasPrelude 'Ruby where
|
||||
definePrelude _ = do
|
||||
defineSelf
|
||||
|
||||
void $ defineBuiltIn (Declaration $ X.name "puts") Print
|
||||
defineBuiltIn (Declaration $ X.name "puts") Print
|
||||
|
||||
defineClass (Declaration (X.name "Object")) [] $ do
|
||||
void $ defineBuiltIn (Declaration $ X.name "inspect") Show
|
||||
defineBuiltIn (Declaration $ X.name "inspect") Show
|
||||
|
||||
instance HasPrelude 'TypeScript where
|
||||
definePrelude _ = defineSelf
|
||||
|
Loading…
Reference in New Issue
Block a user