Node api:
Create empty node:
httpc:request(post, {"http://127.0.0.1:7474/db/data/node", ["application/json"], "application/json", []}, [], []).
module Data.BTree where | |
data Tree a = EmptyTree | |
| Node a (Tree a) (Tree a) | |
deriving (Eq, Ord, Read, Show) | |
emptyTree :: a -> Tree a | |
emptyTree a = Node a EmptyTree EmptyTree |
{:a 1 :b 2} |
[1 2 3] | |
; or | |
[1, 2, 3] |
'(1,2,3) |
DELETE FROM <таблица> WHERE <поле>{=,>,<,...}<значение>; |
DELETE FROM <таблица> WHERE <поле>{=,>,<,...}<значение>; |
DELETE FROM <таблица> WHERE <поле>{=,>,<,...}<значение>; |
PokerStars Game #27738502010: Tournament #160417133, $0.25+$0.00 Hold'em No Limit - Level XV (250/500) - 2009/05/02 13:32:38 ET | |
Table '160417133 3' 9-max Seat #8 is the button | |
Seat 1: LLC 4Eva (9182 in chips) | |
Seat 2: 618shooter (25711 in chips) is sitting out | |
Seat 3: suposd2bRich (21475 in chips) | |
Seat 4: ElT007 (60940 in chips) | |
Seat 5: Orlando I (18044 in chips) | |
Seat 6: ih82bcool2 (8338 in chips) | |
Seat 7: kovilen007 (8353 in chips) | |
Seat 8: GerKingTiger (4404 in chips) |
isInteger :: String -> Bool | |
isInteger s = case reads s :: [(Integer, String)] of | |
[(_, "")] -> True | |
_ -> False | |
-- | |
-- >> isInteger "3" | |
-- True | |
-- | |
-- >> isInteger "30s" |