Newer
Older
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
and :: forall (t :: * -> *). Foldable t => t GHC.Types.Bool -> GHC.Types.Bool
any :: forall (t :: * -> *) a. Foldable t => (a -> GHC.Types.Bool) -> t a -> GHC.Types.Bool
asum :: forall (t :: * -> *) (f :: * -> *) a. (Foldable t, GHC.Base.Alternative f) => t (f a) -> f a
concat :: forall (t :: * -> *) a. Foldable t => t [a] -> [a]
concatMap :: forall (t :: * -> *) a b. Foldable t => (a -> [b]) -> t a -> [b]
find :: forall (t :: * -> *) a. Foldable t => (a -> GHC.Types.Bool) -> t a -> GHC.Maybe.Maybe a
foldlM :: forall (t :: * -> *) (m :: * -> *) b a. (Foldable t, GHC.Base.Monad m) => (b -> a -> m b) -> b -> t a -> m b
foldrM :: forall (t :: * -> *) (m :: * -> *) a b. (Foldable t, GHC.Base.Monad m) => (a -> b -> m b) -> b -> t a -> m b
forM_ :: forall (t :: * -> *) (m :: * -> *) a b. (Foldable t, GHC.Base.Monad m) => t a -> (a -> m b) -> m ()
for_ :: forall (t :: * -> *) (f :: * -> *) a b. (Foldable t, GHC.Base.Applicative f) => t a -> (a -> f b) -> f ()
mapM_ :: forall (t :: * -> *) (m :: * -> *) a b. (Foldable t, GHC.Base.Monad m) => (a -> m b) -> t a -> m ()
maximumBy :: forall (t :: * -> *) a. Foldable t => (a -> a -> GHC.Types.Ordering) -> t a -> a
minimumBy :: forall (t :: * -> *) a. Foldable t => (a -> a -> GHC.Types.Ordering) -> t a -> a
msum :: forall (t :: * -> *) (m :: * -> *) a. (Foldable t, GHC.Base.MonadPlus m) => t (m a) -> m a
notElem :: forall (t :: * -> *) a. (Foldable t, GHC.Classes.Eq a) => a -> t a -> GHC.Types.Bool
or :: forall (t :: * -> *). Foldable t => t GHC.Types.Bool -> GHC.Types.Bool
sequenceA_ :: forall (t :: * -> *) (f :: * -> *) a. (Foldable t, GHC.Base.Applicative f) => t (f a) -> f ()
sequence_ :: forall (t :: * -> *) (m :: * -> *) a. (Foldable t, GHC.Base.Monad m) => t (m a) -> m ()
traverse_ :: forall (t :: * -> *) (f :: * -> *) a b. (Foldable t, GHC.Base.Applicative f) => (a -> f b) -> t a -> f ()
module Data.Foldable1 where
-- Safety: Trustworthy
type Foldable1 :: (* -> *) -> Constraint
class Data.Foldable.Foldable t => Foldable1 t where
fold1 :: forall m. GHC.Base.Semigroup m => t m -> m
foldMap1 :: forall m a. GHC.Base.Semigroup m => (a -> m) -> t a -> m
foldMap1' :: forall m a. GHC.Base.Semigroup m => (a -> m) -> t a -> m
toNonEmpty :: forall a. t a -> GHC.Base.NonEmpty a
maximum :: forall a. GHC.Classes.Ord a => t a -> a
minimum :: forall a. GHC.Classes.Ord a => t a -> a
head :: forall a. t a -> a
last :: forall a. t a -> a
foldrMap1 :: forall a b. (a -> b) -> (a -> b -> b) -> t a -> b
foldlMap1' :: forall a b. (a -> b) -> (b -> a -> b) -> t a -> b
foldlMap1 :: forall a b. (a -> b) -> (b -> a -> b) -> t a -> b
foldrMap1' :: forall a b. (a -> b) -> (a -> b -> b) -> t a -> b
{-# MINIMAL foldMap1 | foldrMap1 #-}
foldl1 :: forall (t :: * -> *) a. Foldable1 t => (a -> a -> a) -> t a -> a
foldl1' :: forall (t :: * -> *) a. Foldable1 t => (a -> a -> a) -> t a -> a
foldlM1 :: forall (t :: * -> *) (m :: * -> *) a. (Foldable1 t, GHC.Base.Monad m) => (a -> a -> m a) -> t a -> m a
foldlMapM1 :: forall (t :: * -> *) (m :: * -> *) a b. (Foldable1 t, GHC.Base.Monad m) => (a -> m b) -> (b -> a -> m b) -> t a -> m b
foldr1 :: forall (t :: * -> *) a. Foldable1 t => (a -> a -> a) -> t a -> a
foldr1' :: forall (t :: * -> *) a. Foldable1 t => (a -> a -> a) -> t a -> a
foldrM1 :: forall (t :: * -> *) (m :: * -> *) a. (Foldable1 t, GHC.Base.Monad m) => (a -> a -> m a) -> t a -> m a
foldrMapM1 :: forall (t :: * -> *) (m :: * -> *) a b. (Foldable1 t, GHC.Base.Monad m) => (a -> m b) -> (a -> b -> m b) -> t a -> m b
intercalate1 :: forall (t :: * -> *) m. (Foldable1 t, GHC.Base.Semigroup m) => m -> t m -> m
maximumBy :: forall (t :: * -> *) a. Foldable1 t => (a -> a -> GHC.Types.Ordering) -> t a -> a
minimumBy :: forall (t :: * -> *) a. Foldable1 t => (a -> a -> GHC.Types.Ordering) -> t a -> a
module Data.Function where
-- Safety: Trustworthy
($) :: forall (repa :: GHC.Types.RuntimeRep) (repb :: GHC.Types.RuntimeRep) (a :: TYPE repa) (b :: TYPE repb). (a -> b) -> a -> b
(&) :: forall (r :: GHC.Types.RuntimeRep) a (b :: TYPE r). a -> (a -> b) -> b
(.) :: forall b c a. (b -> c) -> (a -> b) -> a -> c
applyWhen :: forall a. GHC.Types.Bool -> (a -> a) -> a -> a
const :: forall a b. a -> b -> a
fix :: forall a. (a -> a) -> a
flip :: forall a b c. (a -> b -> c) -> b -> a -> c
id :: forall a. a -> a
on :: forall b c a. (b -> b -> c) -> (a -> b) -> a -> a -> c
module Data.Functor where
-- Safety: Trustworthy
($>) :: forall (f :: * -> *) a b. Functor f => f a -> b -> f b
(<$>) :: forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
(<&>) :: forall (f :: * -> *) a b. Functor f => f a -> (a -> b) -> f b
type Functor :: (* -> *) -> Constraint
class Functor f where
fmap :: forall a b. (a -> b) -> f a -> f b
(<$) :: forall a b. a -> f b -> f a
{-# MINIMAL fmap #-}
unzip :: forall (f :: * -> *) a b. Functor f => f (a, b) -> (f a, f b)
void :: forall (f :: * -> *) a. Functor f => f a -> f ()
module Data.Functor.Classes where
-- Safety: Safe
type Eq1 :: (* -> *) -> Constraint
class (forall a. GHC.Classes.Eq a => GHC.Classes.Eq (f a)) => Eq1 f where
liftEq :: forall a b. (a -> b -> GHC.Types.Bool) -> f a -> f b -> GHC.Types.Bool
default liftEq :: forall (f' :: * -> * -> *) c a b. (f ~ f' c, Eq2 f', GHC.Classes.Eq c) => (a -> b -> GHC.Types.Bool) -> f a -> f b -> GHC.Types.Bool
{-# MINIMAL #-}
type Eq2 :: (* -> * -> *) -> Constraint
class (forall a. GHC.Classes.Eq a => Eq1 (f a)) => Eq2 f where
liftEq2 :: forall a b c d. (a -> b -> GHC.Types.Bool) -> (c -> d -> GHC.Types.Bool) -> f a c -> f b d -> GHC.Types.Bool
{-# MINIMAL liftEq2 #-}
type Ord1 :: (* -> *) -> Constraint
class (Eq1 f, forall a. GHC.Classes.Ord a => GHC.Classes.Ord (f a)) => Ord1 f where
liftCompare :: forall a b. (a -> b -> GHC.Types.Ordering) -> f a -> f b -> GHC.Types.Ordering
default liftCompare :: forall (f' :: * -> * -> *) c a b. (f ~ f' c, Ord2 f', GHC.Classes.Ord c) => (a -> b -> GHC.Types.Ordering) -> f a -> f b -> GHC.Types.Ordering
{-# MINIMAL #-}
type Ord2 :: (* -> * -> *) -> Constraint
class (Eq2 f, forall a. GHC.Classes.Ord a => Ord1 (f a)) => Ord2 f where
liftCompare2 :: forall a b c d. (a -> b -> GHC.Types.Ordering) -> (c -> d -> GHC.Types.Ordering) -> f a c -> f b d -> GHC.Types.Ordering
{-# MINIMAL liftCompare2 #-}
type Read1 :: (* -> *) -> Constraint
class (forall a. GHC.Read.Read a => GHC.Read.Read (f a)) => Read1 f where
liftReadsPrec :: forall a. (GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS a) -> Text.ParserCombinators.ReadP.ReadS [a] -> GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS (f a)
liftReadList :: forall a. (GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS a) -> Text.ParserCombinators.ReadP.ReadS [a] -> Text.ParserCombinators.ReadP.ReadS [f a]
liftReadPrec :: forall a. Text.ParserCombinators.ReadPrec.ReadPrec a -> Text.ParserCombinators.ReadPrec.ReadPrec [a] -> Text.ParserCombinators.ReadPrec.ReadPrec (f a)
liftReadListPrec :: forall a. Text.ParserCombinators.ReadPrec.ReadPrec a -> Text.ParserCombinators.ReadPrec.ReadPrec [a] -> Text.ParserCombinators.ReadPrec.ReadPrec [f a]
{-# MINIMAL liftReadsPrec | liftReadPrec #-}
type Read2 :: (* -> * -> *) -> Constraint
class (forall a. GHC.Read.Read a => Read1 (f a)) => Read2 f where
liftReadsPrec2 :: forall a b. (GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS a) -> Text.ParserCombinators.ReadP.ReadS [a] -> (GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS b) -> Text.ParserCombinators.ReadP.ReadS [b] -> GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS (f a b)
liftReadList2 :: forall a b. (GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS a) -> Text.ParserCombinators.ReadP.ReadS [a] -> (GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS b) -> Text.ParserCombinators.ReadP.ReadS [b] -> Text.ParserCombinators.ReadP.ReadS [f a b]
liftReadPrec2 :: forall a b. Text.ParserCombinators.ReadPrec.ReadPrec a -> Text.ParserCombinators.ReadPrec.ReadPrec [a] -> Text.ParserCombinators.ReadPrec.ReadPrec b -> Text.ParserCombinators.ReadPrec.ReadPrec [b] -> Text.ParserCombinators.ReadPrec.ReadPrec (f a b)
liftReadListPrec2 :: forall a b. Text.ParserCombinators.ReadPrec.ReadPrec a -> Text.ParserCombinators.ReadPrec.ReadPrec [a] -> Text.ParserCombinators.ReadPrec.ReadPrec b -> Text.ParserCombinators.ReadPrec.ReadPrec [b] -> Text.ParserCombinators.ReadPrec.ReadPrec [f a b]
{-# MINIMAL liftReadsPrec2 | liftReadPrec2 #-}
type Show1 :: (* -> *) -> Constraint
class (forall a. GHC.Show.Show a => GHC.Show.Show (f a)) => Show1 f where
liftShowsPrec :: forall a. (GHC.Types.Int -> a -> GHC.Show.ShowS) -> ([a] -> GHC.Show.ShowS) -> GHC.Types.Int -> f a -> GHC.Show.ShowS
default liftShowsPrec :: forall (f' :: * -> * -> *) b a. (f ~ f' b, Show2 f', GHC.Show.Show b) => (GHC.Types.Int -> a -> GHC.Show.ShowS) -> ([a] -> GHC.Show.ShowS) -> GHC.Types.Int -> f a -> GHC.Show.ShowS
liftShowList :: forall a. (GHC.Types.Int -> a -> GHC.Show.ShowS) -> ([a] -> GHC.Show.ShowS) -> [f a] -> GHC.Show.ShowS
{-# MINIMAL #-}
type Show2 :: (* -> * -> *) -> Constraint
class (forall a. GHC.Show.Show a => Show1 (f a)) => Show2 f where
liftShowsPrec2 :: forall a b. (GHC.Types.Int -> a -> GHC.Show.ShowS) -> ([a] -> GHC.Show.ShowS) -> (GHC.Types.Int -> b -> GHC.Show.ShowS) -> ([b] -> GHC.Show.ShowS) -> GHC.Types.Int -> f a b -> GHC.Show.ShowS
liftShowList2 :: forall a b. (GHC.Types.Int -> a -> GHC.Show.ShowS) -> ([a] -> GHC.Show.ShowS) -> (GHC.Types.Int -> b -> GHC.Show.ShowS) -> ([b] -> GHC.Show.ShowS) -> [f a b] -> GHC.Show.ShowS
{-# MINIMAL liftShowsPrec2 #-}
compare1 :: forall (f :: * -> *) a. (Ord1 f, GHC.Classes.Ord a) => f a -> f a -> GHC.Types.Ordering
compare2 :: forall (f :: * -> * -> *) a b. (Ord2 f, GHC.Classes.Ord a, GHC.Classes.Ord b) => f a b -> f a b -> GHC.Types.Ordering
eq1 :: forall (f :: * -> *) a. (Eq1 f, GHC.Classes.Eq a) => f a -> f a -> GHC.Types.Bool
eq2 :: forall (f :: * -> * -> *) a b. (Eq2 f, GHC.Classes.Eq a, GHC.Classes.Eq b) => f a b -> f a b -> GHC.Types.Bool
liftReadList2Default :: forall (f :: * -> * -> *) a b. Read2 f => (GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS a) -> Text.ParserCombinators.ReadP.ReadS [a] -> (GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS b) -> Text.ParserCombinators.ReadP.ReadS [b] -> Text.ParserCombinators.ReadP.ReadS [f a b]
liftReadListDefault :: forall (f :: * -> *) a. Read1 f => (GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS a) -> Text.ParserCombinators.ReadP.ReadS [a] -> Text.ParserCombinators.ReadP.ReadS [f a]
liftReadListPrec2Default :: forall (f :: * -> * -> *) a b. Read2 f => Text.ParserCombinators.ReadPrec.ReadPrec a -> Text.ParserCombinators.ReadPrec.ReadPrec [a] -> Text.ParserCombinators.ReadPrec.ReadPrec b -> Text.ParserCombinators.ReadPrec.ReadPrec [b] -> Text.ParserCombinators.ReadPrec.ReadPrec [f a b]
liftReadListPrecDefault :: forall (f :: * -> *) a. Read1 f => Text.ParserCombinators.ReadPrec.ReadPrec a -> Text.ParserCombinators.ReadPrec.ReadPrec [a] -> Text.ParserCombinators.ReadPrec.ReadPrec [f a]
readBinaryWith :: forall a b t. Text.ParserCombinators.ReadPrec.ReadPrec a -> Text.ParserCombinators.ReadPrec.ReadPrec b -> GHC.Base.String -> (a -> b -> t) -> Text.ParserCombinators.ReadPrec.ReadPrec t
readData :: forall a. Text.ParserCombinators.ReadPrec.ReadPrec a -> Text.ParserCombinators.ReadPrec.ReadPrec a
readPrec1 :: forall (f :: * -> *) a. (Read1 f, GHC.Read.Read a) => Text.ParserCombinators.ReadPrec.ReadPrec (f a)
readPrec2 :: forall (f :: * -> * -> *) a b. (Read2 f, GHC.Read.Read a, GHC.Read.Read b) => Text.ParserCombinators.ReadPrec.ReadPrec (f a b)
readUnaryWith :: forall a t. Text.ParserCombinators.ReadPrec.ReadPrec a -> GHC.Base.String -> (a -> t) -> Text.ParserCombinators.ReadPrec.ReadPrec t
readsBinary1 :: forall (f :: * -> *) (g :: * -> *) a t. (Read1 f, Read1 g, GHC.Read.Read a) => GHC.Base.String -> (f a -> g a -> t) -> GHC.Base.String -> Text.ParserCombinators.ReadP.ReadS t
readsBinaryWith :: forall a b t. (GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS a) -> (GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS b) -> GHC.Base.String -> (a -> b -> t) -> GHC.Base.String -> Text.ParserCombinators.ReadP.ReadS t
readsData :: forall a. (GHC.Base.String -> Text.ParserCombinators.ReadP.ReadS a) -> GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS a
readsPrec1 :: forall (f :: * -> *) a. (Read1 f, GHC.Read.Read a) => GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS (f a)
readsPrec2 :: forall (f :: * -> * -> *) a b. (Read2 f, GHC.Read.Read a, GHC.Read.Read b) => GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS (f a b)
readsUnary :: forall a t. GHC.Read.Read a => GHC.Base.String -> (a -> t) -> GHC.Base.String -> Text.ParserCombinators.ReadP.ReadS t
readsUnary1 :: forall (f :: * -> *) a t. (Read1 f, GHC.Read.Read a) => GHC.Base.String -> (f a -> t) -> GHC.Base.String -> Text.ParserCombinators.ReadP.ReadS t
readsUnaryWith :: forall a t. (GHC.Types.Int -> Text.ParserCombinators.ReadP.ReadS a) -> GHC.Base.String -> (a -> t) -> GHC.Base.String -> Text.ParserCombinators.ReadP.ReadS t
showsBinary1 :: forall (f :: * -> *) (g :: * -> *) a. (Show1 f, Show1 g, GHC.Show.Show a) => GHC.Base.String -> GHC.Types.Int -> f a -> g a -> GHC.Show.ShowS
showsBinaryWith :: forall a b. (GHC.Types.Int -> a -> GHC.Show.ShowS) -> (GHC.Types.Int -> b -> GHC.Show.ShowS) -> GHC.Base.String -> GHC.Types.Int -> a -> b -> GHC.Show.ShowS
showsPrec1 :: forall (f :: * -> *) a. (Show1 f, GHC.Show.Show a) => GHC.Types.Int -> f a -> GHC.Show.ShowS
showsPrec2 :: forall (f :: * -> * -> *) a b. (Show2 f, GHC.Show.Show a, GHC.Show.Show b) => GHC.Types.Int -> f a b -> GHC.Show.ShowS
showsUnary :: forall a. GHC.Show.Show a => GHC.Base.String -> GHC.Types.Int -> a -> GHC.Show.ShowS
showsUnary1 :: forall (f :: * -> *) a. (Show1 f, GHC.Show.Show a) => GHC.Base.String -> GHC.Types.Int -> f a -> GHC.Show.ShowS
showsUnaryWith :: forall a. (GHC.Types.Int -> a -> GHC.Show.ShowS) -> GHC.Base.String -> GHC.Types.Int -> a -> GHC.Show.ShowS
module Data.Functor.Compose where
-- Safety: Trustworthy
type role Compose representational nominal nominal
type Compose :: forall {k} {k1}. (k -> *) -> (k1 -> k) -> k1 -> *
newtype Compose f g a = Compose {getCompose :: f (g a)}
module Data.Functor.Const where
-- Safety: Trustworthy
type role Const representational phantom
type Const :: forall {k}. * -> k -> *
newtype Const a b = Const {getConst :: a}
module Data.Functor.Contravariant where
-- Safety: Trustworthy
($<) :: forall (f :: * -> *) b a. Contravariant f => f b -> b -> f a
(>$$<) :: forall (f :: * -> *) b a. Contravariant f => f b -> (a -> b) -> f a
(>$<) :: forall (f :: * -> *) a b. Contravariant f => (a -> b) -> f b -> f a
type Comparison :: * -> *
newtype Comparison a = Comparison {getComparison :: a -> a -> GHC.Types.Ordering}
type Contravariant :: (* -> *) -> Constraint
class Contravariant f where
contramap :: forall a' a. (a' -> a) -> f a -> f a'
(>$) :: forall b a. b -> f b -> f a
{-# MINIMAL contramap #-}
type Equivalence :: * -> *
newtype Equivalence a = Equivalence {getEquivalence :: a -> a -> GHC.Types.Bool}
type Op :: * -> * -> *
newtype Op a b = Op {getOp :: b -> a}
type Predicate :: * -> *
newtype Predicate a = Predicate {getPredicate :: a -> GHC.Types.Bool}
comparisonEquivalence :: forall a. Comparison a -> Equivalence a
defaultComparison :: forall a. GHC.Classes.Ord a => Comparison a
defaultEquivalence :: forall a. GHC.Classes.Eq a => Equivalence a
phantom :: forall (f :: * -> *) a b. (GHC.Base.Functor f, Contravariant f) => f a -> f b
module Data.Functor.Identity where
-- Safety: Trustworthy
type Identity :: * -> *
newtype Identity a = Identity {runIdentity :: a}
module Data.Functor.Product where
-- Safety: Safe
type role Product representational representational nominal
type Product :: forall {k}. (k -> *) -> (k -> *) -> k -> *
data Product f g a = Pair (f a) (g a)
module Data.Functor.Sum where
-- Safety: Safe
type role Sum representational representational nominal
type Sum :: forall {k}. (k -> *) -> (k -> *) -> k -> *
data Sum f g a = InL (f a) | InR (g a)
module Data.IORef where
-- Safety: Trustworthy
type IORef :: * -> *
newtype IORef a = ...
atomicModifyIORef :: forall a b. IORef a -> (a -> (a, b)) -> GHC.Types.IO b
atomicModifyIORef' :: forall a b. IORef a -> (a -> (a, b)) -> GHC.Types.IO b
atomicWriteIORef :: forall a. IORef a -> a -> GHC.Types.IO ()
mkWeakIORef :: forall a. IORef a -> GHC.Types.IO () -> GHC.Types.IO (GHC.Weak.Weak (IORef a))
modifyIORef :: forall a. IORef a -> (a -> a) -> GHC.Types.IO ()
modifyIORef' :: forall a. IORef a -> (a -> a) -> GHC.Types.IO ()
newIORef :: forall a. a -> GHC.Types.IO (IORef a)
readIORef :: forall a. IORef a -> GHC.Types.IO a
writeIORef :: forall a. IORef a -> a -> GHC.Types.IO ()
module Data.Int where
-- Safety: Trustworthy
type Int :: *
data Int = ...
type Int16 :: *
data Int16 = ...
type Int32 :: *
data Int32 = ...
type Int64 :: *
data Int64 = ...
type Int8 :: *
data Int8 = ...
module Data.Ix where
-- Safety: Trustworthy
type Ix :: * -> Constraint
class GHC.Classes.Ord a => Ix a where
range :: (a, a) -> [a]
index :: (a, a) -> a -> GHC.Types.Int
...
inRange :: (a, a) -> a -> GHC.Types.Bool
rangeSize :: (a, a) -> GHC.Types.Int
...
{-# MINIMAL range, (index | GHC.Ix.unsafeIndex), inRange #-}
module Data.Kind where
-- Safety: Trustworthy
type Constraint :: *
type Constraint = GHC.Prim.CONSTRAINT GHC.Types.LiftedRep
type role FUN nominal representational representational
type FUN :: forall (n :: GHC.Types.Multiplicity) -> forall {q :: GHC.Types.RuntimeRep} {r :: GHC.Types.RuntimeRep}. TYPE q -> TYPE r -> *
data FUN n a b
type Type :: *
type Type = TYPE GHC.Types.LiftedRep
module Data.List where
-- Safety: Trustworthy
(!!) :: forall a. GHC.Stack.Types.HasCallStack => [a] -> GHC.Types.Int -> a
(!?) :: forall a. [a] -> GHC.Types.Int -> GHC.Maybe.Maybe a
(++) :: forall a. [a] -> [a] -> [a]
(\\) :: forall a. GHC.Classes.Eq a => [a] -> [a] -> [a]
all :: forall (t :: * -> *) a. Data.Foldable.Foldable t => (a -> GHC.Types.Bool) -> t a -> GHC.Types.Bool
and :: forall (t :: * -> *). Data.Foldable.Foldable t => t GHC.Types.Bool -> GHC.Types.Bool
any :: forall (t :: * -> *) a. Data.Foldable.Foldable t => (a -> GHC.Types.Bool) -> t a -> GHC.Types.Bool
break :: forall a. (a -> GHC.Types.Bool) -> [a] -> ([a], [a])
concat :: forall (t :: * -> *) a. Data.Foldable.Foldable t => t [a] -> [a]
concatMap :: forall (t :: * -> *) a b. Data.Foldable.Foldable t => (a -> [b]) -> t a -> [b]
cycle :: forall a. GHC.Stack.Types.HasCallStack => [a] -> [a]
delete :: forall a. GHC.Classes.Eq a => a -> [a] -> [a]
deleteBy :: forall a. (a -> a -> GHC.Types.Bool) -> a -> [a] -> [a]
deleteFirstsBy :: forall a. (a -> a -> GHC.Types.Bool) -> [a] -> [a] -> [a]
drop :: forall a. GHC.Types.Int -> [a] -> [a]
dropWhile :: forall a. (a -> GHC.Types.Bool) -> [a] -> [a]
dropWhileEnd :: forall a. (a -> GHC.Types.Bool) -> [a] -> [a]
elem :: forall (t :: * -> *) a. (Data.Foldable.Foldable t, GHC.Classes.Eq a) => a -> t a -> GHC.Types.Bool
elemIndex :: forall a. GHC.Classes.Eq a => a -> [a] -> GHC.Maybe.Maybe GHC.Types.Int
elemIndices :: forall a. GHC.Classes.Eq a => a -> [a] -> [GHC.Types.Int]
filter :: forall a. (a -> GHC.Types.Bool) -> [a] -> [a]
find :: forall (t :: * -> *) a. Data.Foldable.Foldable t => (a -> GHC.Types.Bool) -> t a -> GHC.Maybe.Maybe a
findIndex :: forall a. (a -> GHC.Types.Bool) -> [a] -> GHC.Maybe.Maybe GHC.Types.Int
findIndices :: forall a. (a -> GHC.Types.Bool) -> [a] -> [GHC.Types.Int]
foldl :: forall (t :: * -> *) b a. Data.Foldable.Foldable t => (b -> a -> b) -> b -> t a -> b
foldl' :: forall (t :: * -> *) b a. Data.Foldable.Foldable t => (b -> a -> b) -> b -> t a -> b
foldl1 :: forall (t :: * -> *) a. Data.Foldable.Foldable t => (a -> a -> a) -> t a -> a
foldl1' :: forall a. GHC.Stack.Types.HasCallStack => (a -> a -> a) -> [a] -> a
foldr :: forall (t :: * -> *) a b. Data.Foldable.Foldable t => (a -> b -> b) -> b -> t a -> b
foldr1 :: forall (t :: * -> *) a. Data.Foldable.Foldable t => (a -> a -> a) -> t a -> a
genericDrop :: forall i a. GHC.Real.Integral i => i -> [a] -> [a]
genericIndex :: forall i a. GHC.Real.Integral i => [a] -> i -> a
genericLength :: forall i a. GHC.Num.Num i => [a] -> i
genericReplicate :: forall i a. GHC.Real.Integral i => i -> a -> [a]
genericSplitAt :: forall i a. GHC.Real.Integral i => i -> [a] -> ([a], [a])
genericTake :: forall i a. GHC.Real.Integral i => i -> [a] -> [a]
group :: forall a. GHC.Classes.Eq a => [a] -> [[a]]
groupBy :: forall a. (a -> a -> GHC.Types.Bool) -> [a] -> [[a]]
head :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a
init :: forall a. GHC.Stack.Types.HasCallStack => [a] -> [a]
inits :: forall a. [a] -> [[a]]
insert :: forall a. GHC.Classes.Ord a => a -> [a] -> [a]
insertBy :: forall a. (a -> a -> GHC.Types.Ordering) -> a -> [a] -> [a]
intercalate :: forall a. [a] -> [[a]] -> [a]
intersect :: forall a. GHC.Classes.Eq a => [a] -> [a] -> [a]
intersectBy :: forall a. (a -> a -> GHC.Types.Bool) -> [a] -> [a] -> [a]
intersperse :: forall a. a -> [a] -> [a]
isInfixOf :: forall a. GHC.Classes.Eq a => [a] -> [a] -> GHC.Types.Bool
isPrefixOf :: forall a. GHC.Classes.Eq a => [a] -> [a] -> GHC.Types.Bool
isSubsequenceOf :: forall a. GHC.Classes.Eq a => [a] -> [a] -> GHC.Types.Bool
isSuffixOf :: forall a. GHC.Classes.Eq a => [a] -> [a] -> GHC.Types.Bool
iterate :: forall a. (a -> a) -> a -> [a]
iterate' :: forall a. (a -> a) -> a -> [a]
last :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a
length :: forall (t :: * -> *) a. Data.Foldable.Foldable t => t a -> GHC.Types.Int
lines :: GHC.Base.String -> [GHC.Base.String]
lookup :: forall a b. GHC.Classes.Eq a => a -> [(a, b)] -> GHC.Maybe.Maybe b
map :: forall a b. (a -> b) -> [a] -> [b]
mapAccumL :: forall (t :: * -> *) s a b. Data.Traversable.Traversable t => (s -> a -> (s, b)) -> s -> t a -> (s, t b)
mapAccumR :: forall (t :: * -> *) s a b. Data.Traversable.Traversable t => (s -> a -> (s, b)) -> s -> t a -> (s, t b)
maximum :: forall (t :: * -> *) a. (Data.Foldable.Foldable t, GHC.Classes.Ord a) => t a -> a
maximumBy :: forall (t :: * -> *) a. Data.Foldable.Foldable t => (a -> a -> GHC.Types.Ordering) -> t a -> a
minimum :: forall (t :: * -> *) a. (Data.Foldable.Foldable t, GHC.Classes.Ord a) => t a -> a
minimumBy :: forall (t :: * -> *) a. Data.Foldable.Foldable t => (a -> a -> GHC.Types.Ordering) -> t a -> a
notElem :: forall (t :: * -> *) a. (Data.Foldable.Foldable t, GHC.Classes.Eq a) => a -> t a -> GHC.Types.Bool
nub :: forall a. GHC.Classes.Eq a => [a] -> [a]
nubBy :: forall a. (a -> a -> GHC.Types.Bool) -> [a] -> [a]
null :: forall (t :: * -> *) a. Data.Foldable.Foldable t => t a -> GHC.Types.Bool
or :: forall (t :: * -> *). Data.Foldable.Foldable t => t GHC.Types.Bool -> GHC.Types.Bool
partition :: forall a. (a -> GHC.Types.Bool) -> [a] -> ([a], [a])
permutations :: forall a. [a] -> [[a]]
product :: forall (t :: * -> *) a. (Data.Foldable.Foldable t, GHC.Num.Num a) => t a -> a
repeat :: forall a. a -> [a]
replicate :: forall a. GHC.Types.Int -> a -> [a]
reverse :: forall a. [a] -> [a]
scanl :: forall b a. (b -> a -> b) -> b -> [a] -> [b]
scanl' :: forall b a. (b -> a -> b) -> b -> [a] -> [b]
scanl1 :: forall a. (a -> a -> a) -> [a] -> [a]
scanr :: forall a b. (a -> b -> b) -> b -> [a] -> [b]
scanr1 :: forall a. (a -> a -> a) -> [a] -> [a]
singleton :: forall a. a -> [a]
sort :: forall a. GHC.Classes.Ord a => [a] -> [a]
sortBy :: forall a. (a -> a -> GHC.Types.Ordering) -> [a] -> [a]
sortOn :: forall b a. GHC.Classes.Ord b => (a -> b) -> [a] -> [a]
span :: forall a. (a -> GHC.Types.Bool) -> [a] -> ([a], [a])
splitAt :: forall a. GHC.Types.Int -> [a] -> ([a], [a])
stripPrefix :: forall a. GHC.Classes.Eq a => [a] -> [a] -> GHC.Maybe.Maybe [a]
subsequences :: forall a. [a] -> [[a]]
sum :: forall (t :: * -> *) a. (Data.Foldable.Foldable t, GHC.Num.Num a) => t a -> a
tail :: forall a. GHC.Stack.Types.HasCallStack => [a] -> [a]
tails :: forall a. [a] -> [[a]]
take :: forall a. GHC.Types.Int -> [a] -> [a]
takeWhile :: forall a. (a -> GHC.Types.Bool) -> [a] -> [a]
transpose :: forall a. [[a]] -> [[a]]
uncons :: forall a. [a] -> GHC.Maybe.Maybe (a, [a])
unfoldr :: forall b a. (b -> GHC.Maybe.Maybe (a, b)) -> b -> [a]
union :: forall a. GHC.Classes.Eq a => [a] -> [a] -> [a]
unionBy :: forall a. (a -> a -> GHC.Types.Bool) -> [a] -> [a] -> [a]
unlines :: [GHC.Base.String] -> GHC.Base.String
unsnoc :: forall a. [a] -> GHC.Maybe.Maybe ([a], a)
unwords :: [GHC.Base.String] -> GHC.Base.String
unzip :: forall a b. [(a, b)] -> ([a], [b])
unzip3 :: forall a b c. [(a, b, c)] -> ([a], [b], [c])
unzip4 :: forall a b c d. [(a, b, c, d)] -> ([a], [b], [c], [d])
unzip5 :: forall a b c d e. [(a, b, c, d, e)] -> ([a], [b], [c], [d], [e])
unzip6 :: forall a b c d e f. [(a, b, c, d, e, f)] -> ([a], [b], [c], [d], [e], [f])
unzip7 :: forall a b c d e f g. [(a, b, c, d, e, f, g)] -> ([a], [b], [c], [d], [e], [f], [g])
words :: GHC.Base.String -> [GHC.Base.String]
zip :: forall a b. [a] -> [b] -> [(a, b)]
zip3 :: forall a b c. [a] -> [b] -> [c] -> [(a, b, c)]
zip4 :: forall a b c d. [a] -> [b] -> [c] -> [d] -> [(a, b, c, d)]
zip5 :: forall a b c d e. [a] -> [b] -> [c] -> [d] -> [e] -> [(a, b, c, d, e)]
zip6 :: forall a b c d e f. [a] -> [b] -> [c] -> [d] -> [e] -> [f] -> [(a, b, c, d, e, f)]
zip7 :: forall a b c d e f g. [a] -> [b] -> [c] -> [d] -> [e] -> [f] -> [g] -> [(a, b, c, d, e, f, g)]
zipWith :: forall a b c. (a -> b -> c) -> [a] -> [b] -> [c]
zipWith3 :: forall a b c d. (a -> b -> c -> d) -> [a] -> [b] -> [c] -> [d]
zipWith4 :: forall a b c d e. (a -> b -> c -> d -> e) -> [a] -> [b] -> [c] -> [d] -> [e]
zipWith5 :: forall a b c d e f. (a -> b -> c -> d -> e -> f) -> [a] -> [b] -> [c] -> [d] -> [e] -> [f]
zipWith6 :: forall a b c d e f g. (a -> b -> c -> d -> e -> f -> g) -> [a] -> [b] -> [c] -> [d] -> [e] -> [f] -> [g]
zipWith7 :: forall a b c d e f g h. (a -> b -> c -> d -> e -> f -> g -> h) -> [a] -> [b] -> [c] -> [d] -> [e] -> [f] -> [g] -> [h]
module Data.List.NonEmpty where
-- Safety: Trustworthy
(!!) :: forall a. GHC.Stack.Types.HasCallStack => NonEmpty a -> GHC.Types.Int -> a
(<|) :: forall a. a -> NonEmpty a -> NonEmpty a
type NonEmpty :: * -> *
data NonEmpty a = a :| [a]
append :: forall a. NonEmpty a -> NonEmpty a -> NonEmpty a
appendList :: forall a. NonEmpty a -> [a] -> NonEmpty a
break :: forall a. (a -> GHC.Types.Bool) -> NonEmpty a -> ([a], [a])
cons :: forall a. a -> NonEmpty a -> NonEmpty a
cycle :: forall a. NonEmpty a -> NonEmpty a
drop :: forall a. GHC.Types.Int -> NonEmpty a -> [a]
dropWhile :: forall a. (a -> GHC.Types.Bool) -> NonEmpty a -> [a]
filter :: forall a. (a -> GHC.Types.Bool) -> NonEmpty a -> [a]
fromList :: forall a. GHC.Stack.Types.HasCallStack => [a] -> NonEmpty a
group :: forall (f :: * -> *) a. (Data.Foldable.Foldable f, GHC.Classes.Eq a) => f a -> [NonEmpty a]
group1 :: forall a. GHC.Classes.Eq a => NonEmpty a -> NonEmpty (NonEmpty a)
groupAllWith :: forall b a. GHC.Classes.Ord b => (a -> b) -> [a] -> [NonEmpty a]
groupAllWith1 :: forall b a. GHC.Classes.Ord b => (a -> b) -> NonEmpty a -> NonEmpty (NonEmpty a)
groupBy :: forall (f :: * -> *) a. Data.Foldable.Foldable f => (a -> a -> GHC.Types.Bool) -> f a -> [NonEmpty a]
groupBy1 :: forall a. (a -> a -> GHC.Types.Bool) -> NonEmpty a -> NonEmpty (NonEmpty a)
groupWith :: forall (f :: * -> *) b a. (Data.Foldable.Foldable f, GHC.Classes.Eq b) => (a -> b) -> f a -> [NonEmpty a]
groupWith1 :: forall b a. GHC.Classes.Eq b => (a -> b) -> NonEmpty a -> NonEmpty (NonEmpty a)
head :: forall a. NonEmpty a -> a
init :: forall a. NonEmpty a -> [a]
inits :: forall (f :: * -> *) a. Data.Foldable.Foldable f => f a -> NonEmpty [a]
inits1 :: forall a. NonEmpty a -> NonEmpty (NonEmpty a)
insert :: forall (f :: * -> *) a. (Data.Foldable.Foldable f, GHC.Classes.Ord a) => a -> f a -> NonEmpty a
intersperse :: forall a. a -> NonEmpty a -> NonEmpty a
isPrefixOf :: forall a. GHC.Classes.Eq a => [a] -> NonEmpty a -> GHC.Types.Bool
iterate :: forall a. (a -> a) -> a -> NonEmpty a
last :: forall a. NonEmpty a -> a
length :: forall a. NonEmpty a -> GHC.Types.Int
map :: forall a b. (a -> b) -> NonEmpty a -> NonEmpty b
nonEmpty :: forall a. [a] -> GHC.Maybe.Maybe (NonEmpty a)
nub :: forall a. GHC.Classes.Eq a => NonEmpty a -> NonEmpty a
nubBy :: forall a. (a -> a -> GHC.Types.Bool) -> NonEmpty a -> NonEmpty a
partition :: forall a. (a -> GHC.Types.Bool) -> NonEmpty a -> ([a], [a])
prependList :: forall a. [a] -> NonEmpty a -> NonEmpty a
repeat :: forall a. a -> NonEmpty a
reverse :: forall a. NonEmpty a -> NonEmpty a
scanl :: forall (f :: * -> *) b a. Data.Foldable.Foldable f => (b -> a -> b) -> b -> f a -> NonEmpty b
scanl1 :: forall a. (a -> a -> a) -> NonEmpty a -> NonEmpty a
scanr :: forall (f :: * -> *) a b. Data.Foldable.Foldable f => (a -> b -> b) -> b -> f a -> NonEmpty b
scanr1 :: forall a. (a -> a -> a) -> NonEmpty a -> NonEmpty a
singleton :: forall a. a -> NonEmpty a
some1 :: forall (f :: * -> *) a. GHC.Base.Alternative f => f a -> f (NonEmpty a)
sort :: forall a. GHC.Classes.Ord a => NonEmpty a -> NonEmpty a
sortBy :: forall a. (a -> a -> GHC.Types.Ordering) -> NonEmpty a -> NonEmpty a
sortWith :: forall o a. GHC.Classes.Ord o => (a -> o) -> NonEmpty a -> NonEmpty a
span :: forall a. (a -> GHC.Types.Bool) -> NonEmpty a -> ([a], [a])
splitAt :: forall a. GHC.Types.Int -> NonEmpty a -> ([a], [a])
tail :: forall a. NonEmpty a -> [a]
tails :: forall (f :: * -> *) a. Data.Foldable.Foldable f => f a -> NonEmpty [a]
tails1 :: forall a. NonEmpty a -> NonEmpty (NonEmpty a)
take :: forall a. GHC.Types.Int -> NonEmpty a -> [a]
takeWhile :: forall a. (a -> GHC.Types.Bool) -> NonEmpty a -> [a]
toList :: forall a. NonEmpty a -> [a]
transpose :: forall a. NonEmpty (NonEmpty a) -> NonEmpty (NonEmpty a)
uncons :: forall a. NonEmpty a -> (a, GHC.Maybe.Maybe (NonEmpty a))
unfold :: forall a b. (a -> (b, GHC.Maybe.Maybe a)) -> a -> NonEmpty b
unfoldr :: forall a b. (a -> (b, GHC.Maybe.Maybe a)) -> a -> NonEmpty b
unzip :: forall (f :: * -> *) a b. GHC.Base.Functor f => f (a, b) -> (f a, f b)
xor :: NonEmpty GHC.Types.Bool -> GHC.Types.Bool
zip :: forall a b. NonEmpty a -> NonEmpty b -> NonEmpty (a, b)
zipWith :: forall a b c. (a -> b -> c) -> NonEmpty a -> NonEmpty b -> NonEmpty c
module Data.Maybe where
-- Safety: Trustworthy
type Maybe :: * -> *
data Maybe a = Nothing | Just a
catMaybes :: forall a. [Maybe a] -> [a]
fromJust :: forall a. GHC.Stack.Types.HasCallStack => Maybe a -> a
fromMaybe :: forall a. a -> Maybe a -> a
isJust :: forall a. Maybe a -> GHC.Types.Bool
isNothing :: forall a. Maybe a -> GHC.Types.Bool
listToMaybe :: forall a. [a] -> Maybe a
mapMaybe :: forall a b. (a -> Maybe b) -> [a] -> [b]
maybe :: forall b a. b -> (a -> b) -> Maybe a -> b
maybeToList :: forall a. Maybe a -> [a]
module Data.Monoid where
-- Safety: Trustworthy
(<>) :: forall a. GHC.Base.Semigroup a => a -> a -> a
type All :: *
newtype All = All {getAll :: GHC.Types.Bool}
type role Alt representational nominal
type Alt :: forall {k}. (k -> *) -> k -> *
newtype Alt f a = Alt {getAlt :: f a}
type Any :: *
newtype Any = Any {getAny :: GHC.Types.Bool}
type role Ap representational nominal
type Ap :: forall {k}. (k -> *) -> k -> *
newtype Ap f a = Ap {getAp :: f a}
type Dual :: * -> *
newtype Dual a = Dual {getDual :: a}
type Endo :: * -> *
newtype Endo a = Endo {appEndo :: a -> a}
type First :: * -> *
newtype First a = First {getFirst :: GHC.Maybe.Maybe a}
type Last :: * -> *
newtype Last a = Last {getLast :: GHC.Maybe.Maybe a}
type Monoid :: * -> Constraint
class GHC.Base.Semigroup a => Monoid a where
mempty :: a
mappend :: a -> a -> a
mconcat :: [a] -> a
{-# MINIMAL mempty | mconcat #-}
type Product :: * -> *
newtype Product a = Product {getProduct :: a}
type Sum :: * -> *
newtype Sum a = Sum {getSum :: a}
module Data.Ord where
-- Safety: Trustworthy
type Down :: * -> *
newtype Down a = Down {getDown :: a}
type Ord :: * -> Constraint
class GHC.Classes.Eq a => Ord a where
compare :: a -> a -> Ordering
(<) :: a -> a -> GHC.Types.Bool
(<=) :: a -> a -> GHC.Types.Bool
(>) :: a -> a -> GHC.Types.Bool
(>=) :: a -> a -> GHC.Types.Bool
max :: a -> a -> a
min :: a -> a -> a
{-# MINIMAL compare | (<=) #-}
type Ordering :: *
data Ordering = LT | EQ | GT
clamp :: forall a. Ord a => (a, a) -> a -> a
comparing :: forall a b. Ord a => (b -> a) -> b -> b -> Ordering
module Data.Proxy where
-- Safety: Trustworthy
type role KProxy phantom
type KProxy :: * -> *
data KProxy t = KProxy
type role Proxy phantom
type Proxy :: forall {k}. k -> *
data Proxy t = Proxy
asProxyTypeOf :: forall a (proxy :: * -> *). a -> proxy a -> a
module Data.Ratio where
-- Safety: Safe
(%) :: forall a. GHC.Real.Integral a => a -> a -> Ratio a
type Ratio :: * -> *
data Ratio a = ...
type Rational :: *
type Rational = Ratio GHC.Num.Integer.Integer
approxRational :: forall a. GHC.Real.RealFrac a => a -> a -> Rational
denominator :: forall a. Ratio a -> a
numerator :: forall a. Ratio a -> a
module Data.STRef where
-- Safety: Trustworthy
type role STRef nominal representational
type STRef :: * -> * -> *
data STRef s a = ...
modifySTRef :: forall s a. STRef s a -> (a -> a) -> GHC.ST.ST s ()
modifySTRef' :: forall s a. STRef s a -> (a -> a) -> GHC.ST.ST s ()
newSTRef :: forall a s. a -> GHC.ST.ST s (STRef s a)
readSTRef :: forall s a. STRef s a -> GHC.ST.ST s a
writeSTRef :: forall s a. STRef s a -> a -> GHC.ST.ST s ()
module Data.STRef.Lazy where
-- Safety: Safe
type role STRef nominal representational
type STRef :: * -> * -> *
data STRef s a = ...
modifySTRef :: forall s a. STRef s a -> (a -> a) -> base-4.18.0.0:Control.Monad.ST.Lazy.Imp.ST s ()
newSTRef :: forall a s. a -> base-4.18.0.0:Control.Monad.ST.Lazy.Imp.ST s (STRef s a)
readSTRef :: forall s a. STRef s a -> base-4.18.0.0:Control.Monad.ST.Lazy.Imp.ST s a
writeSTRef :: forall s a. STRef s a -> a -> base-4.18.0.0:Control.Monad.ST.Lazy.Imp.ST s ()
module Data.STRef.Strict where
-- Safety: Safe
type role STRef nominal representational
type STRef :: * -> * -> *
data STRef s a = ...
modifySTRef :: forall s a. STRef s a -> (a -> a) -> GHC.ST.ST s ()
modifySTRef' :: forall s a. STRef s a -> (a -> a) -> GHC.ST.ST s ()
newSTRef :: forall a s. a -> GHC.ST.ST s (STRef s a)
readSTRef :: forall s a. STRef s a -> GHC.ST.ST s a
writeSTRef :: forall s a. STRef s a -> a -> GHC.ST.ST s ()
module Data.Semigroup where
-- Safety: Trustworthy
type All :: *
newtype All = All {getAll :: GHC.Types.Bool}
type Any :: *
newtype Any = Any {getAny :: GHC.Types.Bool}
type Arg :: * -> * -> *
data Arg a b = Arg a b
type ArgMax :: * -> * -> *
type ArgMax a b = Max (Arg a b)
type ArgMin :: * -> * -> *
type ArgMin a b = Min (Arg a b)
type Dual :: * -> *
newtype Dual a = Dual {getDual :: a}
type Endo :: * -> *
newtype Endo a = Endo {appEndo :: a -> a}
type First :: * -> *
newtype First a = First {getFirst :: a}
type Last :: * -> *
newtype Last a = Last {getLast :: a}
type Max :: * -> *
newtype Max a = Max {getMax :: a}
type Min :: * -> *
newtype Min a = Min {getMin :: a}
type Product :: * -> *
newtype Product a = Product {getProduct :: a}
type Semigroup :: * -> Constraint
class Semigroup a where
(<>) :: a -> a -> a
sconcat :: GHC.Base.NonEmpty a -> a
stimes :: forall b. GHC.Real.Integral b => b -> a -> a
{-# MINIMAL (<>) | sconcat #-}
type Sum :: * -> *
newtype Sum a = Sum {getSum :: a}
type WrappedMonoid :: * -> *
newtype WrappedMonoid m = WrapMonoid {unwrapMonoid :: m}
cycle1 :: forall m. Semigroup m => m -> m
diff :: forall m. Semigroup m => m -> Endo m
mtimesDefault :: forall b a. (GHC.Real.Integral b, GHC.Base.Monoid a) => b -> a -> a
stimesIdempotent :: forall b a. GHC.Real.Integral b => b -> a -> a
stimesIdempotentMonoid :: forall b a. (GHC.Real.Integral b, GHC.Base.Monoid a) => b -> a -> a
stimesMonoid :: forall b a. (GHC.Real.Integral b, GHC.Base.Monoid a) => b -> a -> a
module Data.String where
-- Safety: Trustworthy
type IsString :: * -> Constraint
class IsString a where
fromString :: String -> a
{-# MINIMAL fromString #-}
type String :: *
type String = [GHC.Types.Char]
lines :: String -> [String]
unlines :: [String] -> String
unwords :: [String] -> String
words :: String -> [String]
module Data.Traversable where
-- Safety: Trustworthy
type Traversable :: (* -> *) -> Constraint
class (GHC.Base.Functor t, Data.Foldable.Foldable t) => Traversable t where
traverse :: forall (f :: * -> *) a b. GHC.Base.Applicative f => (a -> f b) -> t a -> f (t b)
sequenceA :: forall (f :: * -> *) a. GHC.Base.Applicative f => t (f a) -> f (t a)
mapM :: forall (m :: * -> *) a b. GHC.Base.Monad m => (a -> m b) -> t a -> m (t b)
sequence :: forall (m :: * -> *) a. GHC.Base.Monad m => t (m a) -> m (t a)
{-# MINIMAL traverse | sequenceA #-}
fmapDefault :: forall (t :: * -> *) a b. Traversable t => (a -> b) -> t a -> t b
foldMapDefault :: forall (t :: * -> *) m a. (Traversable t, GHC.Base.Monoid m) => (a -> m) -> t a -> m
for :: forall (t :: * -> *) (f :: * -> *) a b. (Traversable t, GHC.Base.Applicative f) => t a -> (a -> f b) -> f (t b)
forAccumM :: forall (m :: * -> *) (t :: * -> *) s a b. (GHC.Base.Monad m, Traversable t) => s -> t a -> (s -> a -> m (s, b)) -> m (s, t b)
forM :: forall (t :: * -> *) (m :: * -> *) a b. (Traversable t, GHC.Base.Monad m) => t a -> (a -> m b) -> m (t b)
mapAccumL :: forall (t :: * -> *) s a b. Traversable t => (s -> a -> (s, b)) -> s -> t a -> (s, t b)
mapAccumM :: forall (m :: * -> *) (t :: * -> *) s a b. (GHC.Base.Monad m, Traversable t) => (s -> a -> m (s, b)) -> s -> t a -> m (s, t b)
mapAccumR :: forall (t :: * -> *) s a b. Traversable t => (s -> a -> (s, b)) -> s -> t a -> (s, t b)
module Data.Tuple where
-- Safety: Trustworthy
pattern Solo :: forall a. a -> Solo a
type Solo :: * -> *
data Solo a = MkSolo a
curry :: forall a b c. ((a, b) -> c) -> a -> b -> c
fst :: forall a b. (a, b) -> a
getSolo :: forall a. Solo a -> a
snd :: forall a b. (a, b) -> b
swap :: forall a b. (a, b) -> (b, a)
uncurry :: forall a b c. (a -> b -> c) -> (a, b) -> c
module Data.Type.Bool where
-- Safety: Safe
type (&&) :: GHC.Types.Bool -> GHC.Types.Bool -> GHC.Types.Bool
type family (&&) a b where
forall (a :: GHC.Types.Bool). (&&) GHC.Types.False a = GHC.Types.False
forall (a :: GHC.Types.Bool). (&&) GHC.Types.True a = a
forall (a :: GHC.Types.Bool). (&&) a GHC.Types.False = GHC.Types.False
forall (a :: GHC.Types.Bool). (&&) a GHC.Types.True = a
forall (a :: GHC.Types.Bool). (&&) a a = a
type If :: forall {k}. GHC.Types.Bool -> k -> k -> k
type family If cond tru fls where
forall k (tru :: k) (fls :: k). If GHC.Types.True tru fls = tru
forall k (tru :: k) (fls :: k). If GHC.Types.False tru fls = fls
type Not :: GHC.Types.Bool -> GHC.Types.Bool
type family Not a where = res | res -> a
Not GHC.Types.False = GHC.Types.True
Not GHC.Types.True = GHC.Types.False
type (||) :: GHC.Types.Bool -> GHC.Types.Bool -> GHC.Types.Bool
type family (||) a b where
forall (a :: GHC.Types.Bool). (||) GHC.Types.False a = a
forall (a :: GHC.Types.Bool). (||) GHC.Types.True a = GHC.Types.True
forall (a :: GHC.Types.Bool). (||) a GHC.Types.False = a
forall (a :: GHC.Types.Bool). (||) a GHC.Types.True = GHC.Types.True
forall (a :: GHC.Types.Bool). (||) a a = a
module Data.Type.Coercion where
-- Safety: None
type Coercion :: forall {k}. k -> k -> *
data Coercion a b where
Coercion :: forall {k} (a :: k) (b :: k). Coercible a b => Coercion a b
type TestCoercion :: forall {k}. (k -> *) -> Constraint
class TestCoercion f where
testCoercion :: forall (a :: k) (b :: k). f a -> f b -> GHC.Maybe.Maybe (Coercion a b)
{-# MINIMAL testCoercion #-}
coerceWith :: forall a b. Coercion a b -> a -> b
gcoerceWith :: forall {k} (a :: k) (b :: k) r. Coercion a b -> (Coercible a b => r) -> r
repr :: forall {k} (a :: k) (b :: k). (a Data.Type.Equality.:~: b) -> Coercion a b
sym :: forall {k} (a :: k) (b :: k). Coercion a b -> Coercion b a
trans :: forall {k} (a :: k) (b :: k) (c :: k). Coercion a b -> Coercion b c -> Coercion a c
module Data.Type.Equality where
-- Safety: Trustworthy
type role (:~:) nominal nominal
type (:~:) :: forall {k}. k -> k -> *
data (:~:) a b where
Refl :: forall {k} (a :: k). (:~:) a a
type role (:~~:) nominal nominal
type (:~~:) :: forall k1 k2. k1 -> k2 -> *
data (:~~:) a b where
HRefl :: forall {k1} (a :: k1). (:~~:) a a
type (==) :: forall k. k -> k -> GHC.Types.Bool
type family (==) a b where
forall k1 k2 (f :: k1 -> k2) (a :: k1) (g :: k1 -> k2) (b :: k1). (==) (f a) (g b) = (f == g) Data.Type.Bool.&& (a == b)
forall k (a :: k). (==) a a = GHC.Types.True
forall k (_1 :: k) (_2 :: k). (==) _1 _2 = GHC.Types.False
type TestEquality :: forall {k}. (k -> *) -> Constraint
class TestEquality f where
testEquality :: forall (a :: k) (b :: k). f a -> f b -> GHC.Maybe.Maybe (a :~: b)
{-# MINIMAL testEquality #-}
apply :: forall {k1} {k2} (f :: k1 -> k2) (g :: k1 -> k2) (a :: k1) (b :: k1). (f :~: g) -> (a :~: b) -> f a :~: g b
castWith :: forall a b. (a :~: b) -> a -> b
gcastWith :: forall {k} (a :: k) (b :: k) r. (a :~: b) -> ((a ~ b) => r) -> r
inner :: forall {k1} {k2} (f :: k1 -> k2) (a :: k1) (g :: k1 -> k2) (b :: k1). (f a :~: g b) -> a :~: b
outer :: forall {k1} {k2} (f :: k1 -> k2) (a :: k1) (g :: k1 -> k2) (b :: k1). (f a :~: g b) -> f :~: g
sym :: forall {k} (a :: k) (b :: k). (a :~: b) -> b :~: a
trans :: forall {k} (a :: k) (b :: k) (c :: k). (a :~: b) -> (b :~: c) -> a :~: c
type (~) :: forall k. k -> k -> Constraint
class (a ~ b) => (~) a b
{-# MINIMAL #-}
type (~~) :: forall k0 k1. k0 -> k1 -> Constraint
class (a ~~ b) => (~~) a b
{-# MINIMAL #-}
module Data.Type.Ord where
-- Safety: Trustworthy
type (<) :: forall {t}. t -> t -> Constraint
type (<) x y = GHC.TypeError.Assert (x <? y) (Data.Type.Ord.LtErrMsg x y) :: Constraint
type (<=) :: forall {t}. t -> t -> Constraint
type (<=) x y = GHC.TypeError.Assert (x <=? y) (Data.Type.Ord.LeErrMsg x y) :: Constraint
type (<=?) :: forall k. k -> k -> GHC.Types.Bool
type (<=?) m n = OrdCond (Compare m n) GHC.Types.True GHC.Types.True GHC.Types.False :: GHC.Types.Bool
type (<?) :: forall k. k -> k -> GHC.Types.Bool
type (<?) m n = OrdCond (Compare m n) GHC.Types.True GHC.Types.False GHC.Types.False :: GHC.Types.Bool
type (>) :: forall {t}. t -> t -> Constraint
type (>) x y = GHC.TypeError.Assert (x >? y) (Data.Type.Ord.GtErrMsg x y) :: Constraint
type (>=) :: forall {t}. t -> t -> Constraint
type (>=) x y = GHC.TypeError.Assert (x >=? y) (Data.Type.Ord.GeErrMsg x y) :: Constraint
type (>=?) :: forall k. k -> k -> GHC.Types.Bool
type (>=?) m n = OrdCond (Compare m n) GHC.Types.False GHC.Types.True GHC.Types.True :: GHC.Types.Bool
type (>?) :: forall k. k -> k -> GHC.Types.Bool
type (>?) m n = OrdCond (Compare m n) GHC.Types.False GHC.Types.False GHC.Types.True :: GHC.Types.Bool
type Compare :: forall k. k -> k -> GHC.Types.Ordering
type family Compare a b
type Max :: forall k. k -> k -> k
type Max m n = OrdCond (Compare m n) n n m :: k
type Min :: forall k. k -> k -> k
type Min m n = OrdCond (Compare m n) m m n :: k
type OrdCond :: forall k. GHC.Types.Ordering -> k -> k -> k -> k
type family OrdCond o lt eq gt where
forall k (lt :: k) (eq :: k) (gt :: k). OrdCond GHC.Types.LT lt eq gt = lt
forall k (lt :: k) (eq :: k) (gt :: k). OrdCond GHC.Types.EQ lt eq gt = eq
forall k (lt :: k) (eq :: k) (gt :: k). OrdCond GHC.Types.GT lt eq gt = gt
type role OrderingI nominal nominal
type OrderingI :: forall {k}. k -> k -> *
data OrderingI a b where
LTI :: forall {k} (a :: k) (b :: k). (Compare a b ~ GHC.Types.LT) => OrderingI a b
EQI :: forall {k} (a :: k). (Compare a a ~ GHC.Types.EQ) => OrderingI a a
GTI :: forall {k} (a :: k) (b :: k). (Compare a b ~ GHC.Types.GT) => OrderingI a b
module Data.Typeable where
-- Safety: Trustworthy
type role (:~:) nominal nominal
type (:~:) :: forall {k}. k -> k -> *
data (:~:) a b where
Refl :: forall {k} (a :: k). (:~:) a a
type role (:~~:) nominal nominal
type (:~~:) :: forall k1 k2. k1 -> k2 -> *
data (:~~:) a b where
HRefl :: forall {k1} (a :: k1). (:~~:) a a
type role Proxy phantom
type Proxy :: forall {k}. k -> *
data Proxy t = Proxy
type TyCon :: *
data TyCon = ...
type TypeRep :: *
type TypeRep = base-4.18.0.0:Data.Typeable.Internal.SomeTypeRep
type Typeable :: forall k. k -> Constraint
class Typeable a where
...
{-# MINIMAL base-4.18.0.0:Data.Typeable.Internal.typeRep# #-}
cast :: forall a b. (Typeable a, Typeable b) => a -> GHC.Maybe.Maybe b
decT :: forall {k} (a :: k) (b :: k). (Typeable a, Typeable b) => Data.Either.Either ((a :~: b) -> GHC.Base.Void) (a :~: b)
eqT :: forall {k} (a :: k) (b :: k). (Typeable a, Typeable b) => GHC.Maybe.Maybe (a :~: b)
funResultTy :: TypeRep -> TypeRep -> GHC.Maybe.Maybe TypeRep
gcast :: forall {k} (a :: k) (b :: k) (c :: k -> *). (Typeable a, Typeable b) => c a -> GHC.Maybe.Maybe (c b)
gcast1 :: forall {k1} {k2} (c :: k1 -> *) (t :: k2 -> k1) (t' :: k2 -> k1) (a :: k2). (Typeable t, Typeable t') => c (t a) -> GHC.Maybe.Maybe (c (t' a))
gcast2 :: forall {k1} {k2} {k3} (c :: k1 -> *) (t :: k2 -> k3 -> k1) (t' :: k2 -> k3 -> k1) (a :: k2) (b :: k3). (Typeable t, Typeable t') => c (t a b) -> GHC.Maybe.Maybe (c (t' a b))
hdecT :: forall {k1} {k2} (a :: k1) (b :: k2). (Typeable a, Typeable b) => Data.Either.Either ((a :~~: b) -> GHC.Base.Void) (a :~~: b)
heqT :: forall {k1} {k2} (a :: k1) (b :: k2). (Typeable a, Typeable b) => GHC.Maybe.Maybe (a :~~: b)
mkFunTy :: TypeRep -> TypeRep -> TypeRep
rnfTyCon :: TyCon -> ()
rnfTypeRep :: TypeRep -> ()
showsTypeRep :: TypeRep -> GHC.Show.ShowS
splitTyConApp :: TypeRep -> (TyCon, [TypeRep])
trLiftedRep :: base-4.18.0.0:Data.Typeable.Internal.TypeRep GHC.Types.LiftedRep
tyConFingerprint :: TyCon -> GHC.Fingerprint.Type.Fingerprint
tyConModule :: TyCon -> GHC.Base.String
tyConName :: TyCon -> GHC.Base.String
tyConPackage :: TyCon -> GHC.Base.String
typeOf :: forall a. Typeable a => a -> TypeRep
typeOf1 :: forall (t :: * -> *) a. Typeable t => t a -> TypeRep
typeOf2 :: forall (t :: * -> * -> *) a b. Typeable t => t a b -> TypeRep
typeOf3 :: forall (t :: * -> * -> * -> *) a b c. Typeable t => t a b c -> TypeRep
typeOf4 :: forall (t :: * -> * -> * -> * -> *) a b c d. Typeable t => t a b c d -> TypeRep
typeOf5 :: forall (t :: * -> * -> * -> * -> * -> *) a b c d e. Typeable t => t a b c d e -> TypeRep
typeOf6 :: forall (t :: * -> * -> * -> * -> * -> * -> *) a b c d e f. Typeable t => t a b c d e f -> TypeRep
typeOf7 :: forall (t :: * -> * -> * -> * -> * -> * -> * -> *) a b c d e f g. Typeable t => t a b c d e f g -> TypeRep
typeRep :: forall {k} (proxy :: k -> *) (a :: k). Typeable a => proxy a -> TypeRep
typeRepArgs :: TypeRep -> [TypeRep]
typeRepFingerprint :: TypeRep -> GHC.Fingerprint.Type.Fingerprint
typeRepTyCon :: TypeRep -> TyCon
module Data.Unique where
-- Safety: Trustworthy
type Unique :: *
newtype Unique = ...
hashUnique :: Unique -> GHC.Types.Int
newUnique :: GHC.Types.IO Unique
module Data.Version where
-- Safety: Safe
type Version :: *
data Version = Version {versionBranch :: [GHC.Types.Int], versionTags :: [GHC.Base.String]}
makeVersion :: [GHC.Types.Int] -> Version
parseVersion :: Text.ParserCombinators.ReadP.ReadP Version
showVersion :: Version -> GHC.Base.String
module Data.Void where
-- Safety: Trustworthy
type Void :: *
data Void
absurd :: forall a. Void -> a
vacuous :: forall (f :: * -> *) a. GHC.Base.Functor f => f Void -> f a
module Data.Word where
-- Safety: Safe
type Word :: *
data Word = ...
type Word16 :: *
data Word16 = ...
type Word32 :: *
data Word32 = ...
type Word64 :: *
data Word64 = ...
type Word8 :: *
data Word8 = ...
bitReverse16 :: Word16 -> Word16
bitReverse32 :: Word32 -> Word32
bitReverse64 :: Word64 -> Word64
bitReverse8 :: Word8 -> Word8
byteSwap16 :: Word16 -> Word16
byteSwap32 :: Word32 -> Word32
byteSwap64 :: Word64 -> Word64
module Debug.Trace where
-- Safety: Unsafe
flushEventLog :: GHC.Types.IO ()
putTraceMsg :: GHC.Base.String -> GHC.Types.IO ()
trace :: forall a. GHC.Base.String -> a -> a
traceEvent :: forall a. GHC.Base.String -> a -> a
traceEventIO :: GHC.Base.String -> GHC.Types.IO ()
traceEventWith :: forall a. (a -> GHC.Base.String) -> a -> a
traceIO :: GHC.Base.String -> GHC.Types.IO ()
traceId :: GHC.Base.String -> GHC.Base.String
traceM :: forall (f :: * -> *). GHC.Base.Applicative f => GHC.Base.String -> f ()
traceMarker :: forall a. GHC.Base.String -> a -> a
traceMarkerIO :: GHC.Base.String -> GHC.Types.IO ()
traceShow :: forall a b. GHC.Show.Show a => a -> b -> b
traceShowId :: forall a. GHC.Show.Show a => a -> a
traceShowM :: forall a (f :: * -> *). (GHC.Show.Show a, GHC.Base.Applicative f) => a -> f ()
traceShowWith :: forall b a. GHC.Show.Show b => (a -> b) -> a -> a
traceStack :: forall a. GHC.Base.String -> a -> a
traceWith :: forall a. (a -> GHC.Base.String) -> a -> a
module Foreign where
-- Safety: Safe
(!<<.) :: forall a. Bits a => a -> Int -> a
(!>>.) :: forall a. Bits a => a -> Int -> a
(.<<.) :: forall a. Bits a => a -> Int -> a
(.>>.) :: forall a. Bits a => a -> Int -> a
(.^.) :: forall a. Bits a => a -> a -> a
type And :: * -> *
newtype And a = And {getAnd :: a}
type Bits :: * -> Constraint
class GHC.Classes.Eq a => Bits a where
(.&.) :: a -> a -> a
(.|.) :: a -> a -> a
xor :: a -> a -> a
complement :: a -> a
shift :: a -> Int -> a
rotate :: a -> Int -> a
zeroBits :: a
bit :: Int -> a
setBit :: a -> Int -> a
clearBit :: a -> Int -> a
complementBit :: a -> Int -> a
testBit :: a -> Int -> GHC.Types.Bool
bitSizeMaybe :: a -> GHC.Maybe.Maybe Int
bitSize :: a -> Int
isSigned :: a -> GHC.Types.Bool
shiftL :: a -> Int -> a
unsafeShiftL :: a -> Int -> a
shiftR :: a -> Int -> a
unsafeShiftR :: a -> Int -> a
rotateL :: a -> Int -> a
rotateR :: a -> Int -> a
popCount :: a -> Int
{-# MINIMAL (.&.), (.|.), xor, complement, (shift | (shiftL, shiftR)), (rotate | (rotateL, rotateR)), bitSize, bitSizeMaybe, isSigned, testBit, bit, popCount #-}
type FinalizerEnvPtr :: * -> * -> *
type FinalizerEnvPtr env a = FunPtr (Ptr env -> Ptr a -> GHC.Types.IO ())
type FinalizerPtr :: * -> *
type FinalizerPtr a = FunPtr (Ptr a -> GHC.Types.IO ())
type FiniteBits :: * -> Constraint
class Bits b => FiniteBits b where
finiteBitSize :: b -> Int
countLeadingZeros :: b -> Int
countTrailingZeros :: b -> Int
{-# MINIMAL finiteBitSize #-}
type role ForeignPtr phantom
type ForeignPtr :: * -> *
data ForeignPtr a = ...
type role FunPtr phantom
type FunPtr :: * -> *
data FunPtr a = ...
type Iff :: * -> *
newtype Iff a = Iff {getIff :: a}
type Int :: *
data Int = ...
type Int16 :: *
data Int16 = ...
type Int32 :: *
data Int32 = ...
type Int64 :: *
data Int64 = ...
type Int8 :: *
data Int8 = ...
type IntPtr :: *
newtype IntPtr = IntPtr Int
type Ior :: * -> *
newtype Ior a = Ior {getIor :: a}
type Pool :: *
newtype Pool = ...
type role Ptr phantom
type Ptr :: * -> *
data Ptr a = ...
type StablePtr :: * -> *
data StablePtr a = ...
type Storable :: * -> Constraint
class Storable a where
sizeOf :: a -> Int
alignment :: a -> Int
peekElemOff :: Ptr a -> Int -> GHC.Types.IO a
pokeElemOff :: Ptr a -> Int -> a -> GHC.Types.IO ()
peekByteOff :: forall b. Ptr b -> Int -> GHC.Types.IO a
pokeByteOff :: forall b. Ptr b -> Int -> a -> GHC.Types.IO ()
peek :: Ptr a -> GHC.Types.IO a
poke :: Ptr a -> a -> GHC.Types.IO ()
{-# MINIMAL sizeOf, alignment, (peek | peekElemOff | peekByteOff), (poke | pokeElemOff | pokeByteOff) #-}
type Word :: *
data Word = ...
type Word16 :: *
data Word16 = ...
type Word32 :: *
data Word32 = ...
type Word64 :: *
data Word64 = ...
type Word8 :: *
data Word8 = ...
type WordPtr :: *
newtype WordPtr = WordPtr Word
type Xor :: * -> *
newtype Xor a = Xor {getXor :: a}
addForeignPtrFinalizer :: forall a. FinalizerPtr a -> ForeignPtr a -> GHC.Types.IO ()
addForeignPtrFinalizerEnv :: forall env a. FinalizerEnvPtr env a -> Ptr env -> ForeignPtr a -> GHC.Types.IO ()
advancePtr :: forall a. Storable a => Ptr a -> Int -> Ptr a
alignPtr :: forall a. Ptr a -> Int -> Ptr a
alloca :: forall a b. Storable a => (Ptr a -> GHC.Types.IO b) -> GHC.Types.IO b
allocaArray :: forall a b. Storable a => Int -> (Ptr a -> GHC.Types.IO b) -> GHC.Types.IO b
allocaArray0 :: forall a b. Storable a => Int -> (Ptr a -> GHC.Types.IO b) -> GHC.Types.IO b
allocaBytes :: forall a b. Int -> (Ptr a -> GHC.Types.IO b) -> GHC.Types.IO b
allocaBytesAligned :: forall a b. Int -> Int -> (Ptr a -> GHC.Types.IO b) -> GHC.Types.IO b
bitDefault :: forall a. (Bits a, GHC.Num.Num a) => Int -> a
bitReverse16 :: Word16 -> Word16
bitReverse32 :: Word32 -> Word32
bitReverse64 :: Word64 -> Word64
bitReverse8 :: Word8 -> Word8
byteSwap16 :: Word16 -> Word16
byteSwap32 :: Word32 -> Word32
byteSwap64 :: Word64 -> Word64
calloc :: forall a. Storable a => GHC.Types.IO (Ptr a)
callocArray :: forall a. Storable a => Int -> GHC.Types.IO (Ptr a)
callocArray0 :: forall a. Storable a => Int -> GHC.Types.IO (Ptr a)
callocBytes :: forall a. Int -> GHC.Types.IO (Ptr a)
castForeignPtr :: forall a b. ForeignPtr a -> ForeignPtr b
castFunPtr :: forall a b. FunPtr a -> FunPtr b
castFunPtrToPtr :: forall a b. FunPtr a -> Ptr b
castPtr :: forall a b. Ptr a -> Ptr b
castPtrToFunPtr :: forall a b. Ptr a -> FunPtr b
castPtrToStablePtr :: forall a. Ptr () -> StablePtr a
castStablePtrToPtr :: forall a. StablePtr a -> Ptr ()
copyArray :: forall a. Storable a => Ptr a -> Ptr a -> Int -> GHC.Types.IO ()
copyBytes :: forall a. Ptr a -> Ptr a -> Int -> GHC.Types.IO ()
deRefStablePtr :: forall a. StablePtr a -> GHC.Types.IO a
fillBytes :: forall a. Ptr a -> Word8 -> Int -> GHC.Types.IO ()
finalizeForeignPtr :: forall a. ForeignPtr a -> GHC.Types.IO ()
finalizerFree :: forall a. FinalizerPtr a
free :: forall a. Ptr a -> GHC.Types.IO ()