Skip to content

Commit

Permalink
actions to do
Browse files Browse the repository at this point in the history
  • Loading branch information
cartazio committed Aug 28, 2023
1 parent bf61926 commit 7d3dc5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Numerical/Array/Layout/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ for now lets say yes, cause you can always just existential up the class
-- @O(1)@ / @O(rank)@
majorAxisSlice :: form -> (Int,Int)-> form
-- should this be -> Maybe form?
{- need to clarify how this would work on tiled stuff -}


-- | @'majorAxixProject' form x@ picks a "row" with respect to the outer most
Expand Down Expand Up @@ -392,6 +393,7 @@ class Layout form rank => DenseLayout form (rank :: Nat) | form -> rank where
basicNextDenseAddress form $ basicToDenseAddress form shp
{-# INLINE basicNextDenseIndex #-}

{- TODO: add generalized slice notation support here -}

#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 707
{-# MINIMAL basicToDenseIndex, basicToDenseAddress,
Expand Down

0 comments on commit 7d3dc5e

Please sign in to comment.