-
Notifications
You must be signed in to change notification settings - Fork 2
Linear и LinearM
Андрей Мулик edited this page Oct 6, 2023
·
2 revisions
Linear
- класс упорядоченных неизменяемых линейных структур (векторов).
LinearM
- класс упорядоченных изменяемых линейных структур (векторов).
В sdp-0.2
классы Linear[M]
были суперклассами для Split[M]
- какой-либо существенной разницы между ними не существовало, деление было сугубо умозрительным. В основном, функции разделялись в зависимости от того требовали ли они реализации take
и drop
(Split[M]
) или нет (Linear[M]
).
В sdp-0.3
классы Split[M]
сначала были объединены с Linear[M]
. Затем из Linear[M]
выделился класс Sequence[M]
, не требующий реализации Nullable[M]
и Monoid
(для Linear
).
Linear LinearM |
Добавлен | Перемещён в | в версии | Перемещён из | Доступен с | Устарел | Описание |
---|---|---|---|---|---|---|---|
uncons | sdp-0.2 | Sequence | sdp-0.3 | ||||
uncons' | sdp-0.2 | Sequence | sdp-0.3 | ||||
toHead | sdp-0.2 | Sequence | sdp-0.3 | ||||
head | sdp-0.2 | Sequence | sdp-0.3 | ||||
tail | sdp-0.2 | Sequence | sdp-0.3 | ||||
unsnoc | sdp-0.2 | Sequence | sdp-0.3 | ||||
unsnoc' | sdp-0.2 | Sequence | sdp-0.3 | ||||
toLast | sdp-0.2 | Sequence | sdp-0.3 | ||||
init | sdp-0.2 | Sequence | sdp-0.3 | ||||
last | sdp-0.2 | Sequence | sdp-0.3 | ||||
single | sdp-0.2 | Sequence | sdp-0.3 | ||||
(++) |
sdp-0.2 | Sequence | sdp-0.3 | ||||
replicate | sdp-0.2 | ||||||
fromList | sdp-0.2 | Sequence | sdp-0.3 | ||||
fromListN | sdp-0.2 | ||||||
listL | sdp-0.2 | Sequence | sdp-0.3 | ||||
listR | sdp-0.2 | Sequence | sdp-0.3 | ||||
fromFoldable | sdp-0.2 | Sequence | sdp-0.3 | ||||
(!^) |
sdp-0.2 | Sequence | sdp-0.3 | ||||
write | sdp-0.2 | Sequence | sdp-0.3 | ||||
concat | sdp-0.2 | ||||||
concatMap | sdp-0.2 | ||||||
intersperse | sdp-0.2 | SDP.Linear | sdp-0.3 | ||||
filter | sdp-0.2 | ||||||
except | sdp-0.2 | SDP.Linear | sdp-0.3 | ||||
partition | sdp-0.2 | ||||||
partitions | sdp-0.2 | SDP.Linear | sdp-0.3 | ||||
select | sdp-0.2 | Sequence | sdp-0.3 | ||||
select' | sdp-0.2 | ||||||
extract | sdp-0.2 | Sequence | sdp-0.3 | ||||
extract' | sdp-0.2 | ||||||
selects | sdp-0.2 | sdp-0.3 | |||||
selects' | sdp-0.2 | sdp-0.3 | |||||
isSubseqOf | sdp-0.2 | Sequence | sdp-0.3 | ||||
reverse | sdp-0.2 | Sequence | sdp-0.3 | ||||
force | sdp-0.2 | Forceable | sdp-0.3 | ||||
subsequences | sdp-0.2 | SDP.Linear | sdp-0.3 | ||||
iterate | sdp-0.2 | ||||||
nub | sdp-0.2 | Sequence | sdp-0.3 | ||||
nubBy | sdp-0.2 | Sequence | sdp-0.3 | ||||
ofoldr | sdp-0.2 | Sequence | sdp-0.3 | ||||
ofoldl | sdp-0.2 | Sequence | sdp-0.3 | ||||
ofoldr' | sdp-0.2 | Sequence | sdp-0.3 | ||||
ofoldl' | sdp-0.2 | Sequence | sdp-0.3 | ||||
o_foldr | sdp-0.2 | SDP.Sequence | sdp-0.3 | sdp-0.3 | |||
o_foldl | sdp-0.2 | SDP.Sequence | sdp-0.3 | sdp-0.3 | |||
o_foldr' | sdp-0.2 | SDP.Sequence | sdp-0.3 | sdp-0.3 | |||
o_foldl' | sdp-0.2 | SDP.Sequence | sdp-0.3 | sdp-0.3 | |||
before | sdp-0.2.1 | Sequence | sdp-0.3 | ||||
after | sdp-0.2.1 | SDP.Sequence | sdp-0.3 | ||||
remove | sdp-0.2.1 | ||||||
o_foldr1 | sdp-0.2.1 | SDP.Sequence | sdp-0.3 | sdp-0.3 | |||
o_foldl1 | sdp-0.2.1 | SDP.Sequence | sdp-0.3 | sdp-0.3 | |||
o_foldr1' | sdp-0.2.1 | SDP.Sequence | sdp-0.3 | sdp-0.3 | |||
o_foldl1' | sdp-0.2.1 | SDP.Sequence | sdp-0.3 | sdp-0.3 | |||
fromList' | sdp-0.3 | ||||||
unfoldr | sdp-0.3 | ||||||
mfilter | sdp-0.3 | ||||||
mpartition | sdp-0.3 | ||||||
take | sdp-0.3 | Split | sdp-0.2 | ||||
drop | sdp-0.3 | Split | sdp-0.2 | ||||
keep | sdp-0.3 | Split | sdp-0.2 | ||||
sans | sdp-0.3 | Split | sdp-0.2 | ||||
split | sdp-0.3 | Split | sdp-0.2 | ||||
divide | sdp-0.3 | Split | sdp-0.2 | ||||
splitsBy | sdp-0.3 | Split | sdp-0.2 | ||||
splitsOn | sdp-0.3 | Split | sdp-0.2 | ||||
takeWhile | sdp-0.3 | Split | sdp-0.2 | ||||
takeEnd | sdp-0.3 | Split | sdp-0.2 | ||||
dropWhile | sdp-0.3 | Split | sdp-0.2 | ||||
dropEnd | sdp-0.3 | Split | sdp-0.2 | ||||
padL | sdp-0.3 | ||||||
padR | sdp-0.3 | ||||||
replaceBy | sdp-0.3 | Split | sdp-0.2 | ||||
removeAll | sdp-0.3 | Split | sdp-0.2 | ||||
extractWhile | sdp-0.3 | Split | sdp-0.2 | ||||
extractEnd | sdp-0.3 | Split | sdp-0.2 | ||||
mselect' | sdp-0.3 | ||||||
mextract' | sdp-0.3 |