Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 9 new columns ({'hash', 'timestamp', 'message', 'author_email', 'committer_email', 'repository_id', 'committer_name', 'author_name', 'id'}) and 10 missing columns ({'class_definition', 'line_number_start', 'repository_name', 'module_name', 'class_name', 'created_at', 'updated_at', 'commit_hash', 'src_location', 'line_number_end'}).

This happened while the csv dataset builder was generating data using

hf://datasets/eswar-2001/haskell-ghc-9.2.8/commit.csv (at revision 4a0a2880ab90e20003d497f14b66133e121a8ea9)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              id: null
              hash: null
              message: null
              author_name: null
              author_email: null
              committer_name: null
              committer_email: null
              timestamp: null
              repository_id: null
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1315
              to
              {'repository_name': Value('string'), 'commit_hash': Value('string'), 'module_name': Value('string'), 'class_name': Value('string'), 'src_location': Value('string'), 'class_definition': Value('string'), 'line_number_start': Value('int64'), 'line_number_end': Value('int64'), 'created_at': Value('string'), 'updated_at': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1455, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1054, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1833, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 9 new columns ({'hash', 'timestamp', 'message', 'author_email', 'committer_email', 'repository_id', 'committer_name', 'author_name', 'id'}) and 10 missing columns ({'class_definition', 'line_number_start', 'repository_name', 'module_name', 'class_name', 'created_at', 'updated_at', 'commit_hash', 'src_location', 'line_number_end'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/eswar-2001/haskell-ghc-9.2.8/commit.csv (at revision 4a0a2880ab90e20003d497f14b66133e121a8ea9)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

repository_name
string
commit_hash
string
module_name
string
class_name
string
src_location
string
class_definition
string
line_number_start
int64
line_number_end
int64
created_at
string
updated_at
string
HTTP
unknown
Network.TCP
HStream
Network/TCP.hs:148:29-35
class BufferType bufType => HStream bufType where openStream :: String -> Int -> IO (HandleStream bufType) openSocketStream :: String -> Int -> Socket -> IO (HandleStream bufType) readLine :: HandleStream bufType -> IO (Result bufType) readBlock :: HandleStream bufType -> Int -> IO (Result bufType) writeBlock :: HandleStream bufType -> bufType -> IO (Result ()) close :: HandleStream bufType -> IO () closeQuick :: HandleStream bufType -> IO () closeOnEnd :: HandleStream bufType -> Bool -> IO ()
148
156
2025-11-07 11:41:33.290513
2025-11-07 11:41:33.290513
HTTP
unknown
Network.Stream
Stream
Network/Stream.hs:78:7-12
class Stream x where readLine :: x -> IO (Result String) readBlock :: x -> Int -> IO (Result String) writeBlock :: x -> String -> IO (Result ()) close :: x -> IO () closeOnEnd :: x -> Bool -> IO () " True => shutdown the connection when response has been read / end-of-stream has been reached."
78
83
2025-11-07 11:41:33.290532
2025-11-07 11:41:33.290532
HTTP
unknown
Network.BufferType
BufferType
Network/BufferType.hs:48:7-16
class BufferType bufType where bufferOps :: BufferOp bufType
48
49
2025-11-07 11:41:33.290541
2025-11-07 11:41:33.290541
HTTP
unknown
Network.HTTP.Headers
HasHeaders
Network/HTTP/Headers.hs:358:7-16
class HasHeaders x where getHeaders :: x -> [Header] setHeaders :: x -> [Header] -> x
358
360
2025-11-07 11:41:33.290547
2025-11-07 11:41:33.290547
HTTP
unknown
Network.HTTP.MD5Aux
MD5
Network/HTTP/MD5Aux.hs:27:7-9
class MD5 a where get_next :: a -> ([Word32], Int, a) len_pad :: Word64 -> a -> a finished :: a -> Bool
27
33
2025-11-07 11:41:33.290553
2025-11-07 11:41:33.290553
HUnit
unknown
Test.HUnit.Base
Assertable
src/Test/HUnit/Base.hs:88:7-16
class Assertable t where assert :: HasCallStack => t -> Assertion
88
89
2025-11-07 11:41:34.373177
2025-11-07 11:41:34.373177
HUnit
unknown
Test.HUnit.Base
ListAssertable
src/Test/HUnit/Base.hs:104:7-20
class ListAssertable t where listAssert :: HasCallStack => [t] -> Assertion
104
105
2025-11-07 11:41:34.373186
2025-11-07 11:41:34.373186
HUnit
unknown
Test.HUnit.Base
AssertionPredicable
src/Test/HUnit/Base.hs:140:7-25
class AssertionPredicable t where assertionPredicate :: t -> AssertionPredicate
140
141
2025-11-07 11:41:34.373192
2025-11-07 11:41:34.373192
HUnit
unknown
Test.HUnit.Base
Testable
src/Test/HUnit/Base.hs:203:7-14
class Testable t where test :: HasCallStack => t -> Test
203
204
2025-11-07 11:41:34.373198
2025-11-07 11:41:34.373198
JuicyPixels
unknown
Codec.Picture
Decimable
src/Codec/Picture.hs:290:7-15
class Decimable px1 px2 where decimateBitDepth :: Image px1 -> Image px2
290
291
2025-11-07 11:41:36.016641
2025-11-07 11:41:36.016641
JuicyPixels
unknown
Codec.Picture.Types
ColorPlane
src/Codec/Picture/Types.hs:171:7-16
class ColorPlane pixel planeToken where toComponentIndex :: pixel -> planeToken -> Int
171
174
2025-11-07 11:41:36.016656
2025-11-07 11:41:36.016656
JuicyPixels
unknown
Codec.Picture.Types
TransparentPixel
src/Codec/Picture/Types.hs:268:29-44
class (Pixel a, Pixel b) => TransparentPixel a b | a -> b where dropTransparency :: a -> b getTransparency :: a -> PixelBaseComponent a
268
274
2025-11-07 11:41:36.016663
2025-11-07 11:41:36.016663
JuicyPixels
unknown
Codec.Picture.Types
Pixel
src/Codec/Picture/Types.hs:701:47-51
class (Storable (PixelBaseComponent a), Num (PixelBaseComponent a), Eq a) => Pixel a where type PixelBaseComponent a :: * mixWith :: (Int -> PixelBaseComponent a -> PixelBaseComponent a -> PixelBaseComponent a) -> a -> a -> a mixWithAlpha :: (Int -> PixelBaseComponent a -> PixelBaseComponent a -> PixelBaseComponent a) " Function for color component" -> (PixelBaseComponent a -> PixelBaseComponent a -> PixelBaseComponent a) " Function for alpha component" -> a -> a -> a {-# INLINE mixWithAlpha #-} mixWithAlpha f _ = mixWith f pixelOpacity :: a -> PixelBaseComponent a componentCount :: a -> Int colorMap :: (PixelBaseComponent a -> PixelBaseComponent a) -> a -> a pixelBaseIndex :: Image a -> Int -> Int -> Int pixelBaseIndex (Image {imageWidth = w}) x y = (x + y * w) * componentCount (undefined :: a) mutablePixelBaseIndex :: MutableImage s a -> Int -> Int -> Int mutablePixelBaseIndex (MutableImage {mutableImageWidth = w}) x y = (x + y * w) * componentCount (undefined :: a) pixelAt :: Image a -> Int -> Int -> a readPixel :: PrimMonad m => MutableImage (PrimState m) a -> Int -> Int -> m a writePixel :: PrimMonad m => MutableImage (PrimState m) a -> Int -> Int -> a -> m () unsafePixelAt :: V.Vector (PixelBaseComponent a) -> Int -> a unsafeReadPixel :: PrimMonad m => M.STVector (PrimState m) (PixelBaseComponent a) -> Int -> m a unsafeWritePixel :: PrimMonad m => M.STVector (PrimState m) (PixelBaseComponent a) -> Int -> a -> m ()
700
779
2025-11-07 11:41:36.016670
2025-11-07 11:41:36.016670
JuicyPixels
unknown
Codec.Picture.Types
ColorConvertible
src/Codec/Picture/Types.hs:786:29-44
class (Pixel a, Pixel b) => ColorConvertible a b where promotePixel :: a -> b promoteImage :: Image a -> Image b promoteImage = pixelMap promotePixel
786
794
2025-11-07 11:41:36.016693
2025-11-07 11:41:36.016693
JuicyPixels
unknown
Codec.Picture.Types
ColorSpaceConvertible
src/Codec/Picture/Types.hs:798:29-49
class (Pixel a, Pixel b) => ColorSpaceConvertible a b where convertPixel :: a -> b convertImage :: Image a -> Image b convertImage = pixelMap convertPixel
798
806
2025-11-07 11:41:36.016699
2025-11-07 11:41:36.016699
JuicyPixels
unknown
Codec.Picture.Types
LumaPlaneExtractable
src/Codec/Picture/Types.hs:1141:50-69
class (Pixel a, Pixel (PixelBaseComponent a)) => LumaPlaneExtractable a where computeLuma :: a -> PixelBaseComponent a extractLumaPlane :: Image a -> Image (PixelBaseComponent a) extractLumaPlane = pixelMap computeLuma
1,141
1,152
2025-11-07 11:41:36.016706
2025-11-07 11:41:36.016706
JuicyPixels
unknown
Codec.Picture.Types
PackeablePixel
src/Codec/Picture/Types.hs:2406:7-20
class PackeablePixel a where type PackedRepresentation a packPixel :: a -> PackedRepresentation a unpackPixel :: PackedRepresentation a -> a
2,406
2,417
2025-11-07 11:41:36.016713
2025-11-07 11:41:36.016713
JuicyPixels
unknown
Codec.Picture.Jpg
JpgEncodable
src/Codec/Picture/Jpg.hs:795:52-63
class (Pixel px, PixelBaseComponent px ~ Word8) => JpgEncodable px where additionalBlocks :: Image px -> [JpgFrame] additionalBlocks _ = [] componentsOfColorSpace :: Image px -> [JpgComponent] encodingState :: Int -> Image px -> V.Vector EncoderState imageHuffmanTables :: Image px -> [(JpgHuffmanTableSpec, HuffmanPackedTree)] imageHuffmanTables _ = defaultHuffmanTables scanSpecificationOfColorSpace :: Image px -> [JpgScanSpecification] quantTableSpec :: Image px -> Int -> [JpgQuantTableSpec] quantTableSpec _ qual = take 1 $ zigzaggedQuantificationSpec qual maximumSubSamplingOf :: Image px -> Int maximumSubSamplingOf _ = 1
795
812
2025-11-07 11:41:36.016720
2025-11-07 11:41:36.016720
JuicyPixels
unknown
Codec.Picture.Tga
TGAPixel
src/Codec/Picture/Tga.hs:216:31-38
class (Pixel (Unpacked a)) => TGAPixel a where type Unpacked a packedByteSize :: a -> Int tgaUnpack :: a -> B.ByteString -> Int -> Unpacked a
216
219
2025-11-07 11:41:36.016732
2025-11-07 11:41:36.016732
JuicyPixels
unknown
Codec.Picture.Tga
TgaSaveable
src/Codec/Picture/Tga.hs:469:7-17
class TgaSaveable a where tgaDataOfImage :: Image a -> B.ByteString tgaPixelDepthOfImage :: Image a -> Word8 tgaTypeOfImage :: Image a -> TgaImageType
469
472
2025-11-07 11:41:36.016738
2025-11-07 11:41:36.016738
JuicyPixels
unknown
Codec.Picture.Bitmap
BmpEncodable
src/Codec/Picture/Bitmap.hs:359:7-18
class BmpEncodable pixel where bitsPerPixel :: pixel -> Int bmpEncode :: Image pixel -> Put hasAlpha :: Image pixel -> Bool defaultPalette :: pixel -> BmpPalette defaultPalette _ = BmpPalette []
359
364
2025-11-07 11:41:36.016745
2025-11-07 11:41:36.016745
JuicyPixels
unknown
Codec.Picture.Tiff
Unpackable
src/Codec/Picture/Tiff.hs:211:7-16
class Unpackable a where type StorageType a :: * outAlloc :: a -> Int -> ST s (M.STVector s (StorageType a)) allocTempBuffer :: a -> M.STVector s (StorageType a) -> Int -> ST s (M.STVector s Word8) offsetStride :: a -> Int -> Int -> (Int, Int) mergeBackTempBuffer :: a " Type witness, just for the type checker." -> Endianness -> M.STVector s Word8 " Temporary buffer handling decompression." -> Int " Line size in pixels" -> Int " Write index, in bytes" -> Word32 " size, in bytes" -> Int " Stride" -> M.STVector s (StorageType a) " Final buffer" -> ST s ()
211
230
2025-11-07 11:41:36.016752
2025-11-07 11:41:36.016752
JuicyPixels
unknown
Codec.Picture.Tiff
TiffSaveable
src/Codec/Picture/Tiff.hs:837:21-32
class (Pixel px) => TiffSaveable px where colorSpaceOfPixel :: px -> TiffColorspace extraSampleCodeOfPixel :: px -> Maybe ExtraSample extraSampleCodeOfPixel _ = Nothing subSamplingInfo :: px -> V.Vector Word32 subSamplingInfo _ = V.empty sampleFormat :: px -> [TiffSampleFormat] sampleFormat _ = [TiffSampleUint]
837
847
2025-11-07 11:41:36.016764
2025-11-07 11:41:36.016764
JuicyPixels
unknown
Codec.Picture.Png.Internal.Export
PngPaletteSaveable
src/Codec/Picture/Png/Internal/Export.hs:40:7-24
class PngPaletteSaveable a where encodePalettedPng :: Image a -> Image Pixel8 -> Either String Lb.ByteString encodePalettedPng = encodePalettedPngWithMetadata mempty encodePalettedPngWithMetadata :: Metadatas -> Image a -> Image Pixel8 -> Either String Lb.ByteString
40
50
2025-11-07 11:41:36.016772
2025-11-07 11:41:36.016772
JuicyPixels
unknown
Codec.Picture.Png.Internal.Export
PngSavable
src/Codec/Picture/Png/Internal/Export.hs:76:7-16
class PngSavable a where encodePng :: Image a -> Lb.ByteString encodePng = encodePngWithMetadata mempty encodePngWithMetadata :: Metadatas -> Image a -> Lb.ByteString
76
104
2025-11-07 11:41:36.016780
2025-11-07 11:41:36.016780
JuicyPixels
unknown
Codec.Picture.Jpg.Internal.Types
SizeCalculable
src/Codec/Picture/Jpg/Internal/Types.hs:332:7-20
class SizeCalculable a where calculateSize :: a -> Int
332
333
2025-11-07 11:41:36.016787
2025-11-07 11:41:36.016787
JuicyPixels
unknown
Codec.Picture.Tiff.Internal.Types
BinaryParam
src/Codec/Picture/Tiff/Internal/Types.hs:80:7-17
class BinaryParam a b where getP :: a -> Get b putP :: a -> b -> Put
80
82
2025-11-07 11:41:36.016793
2025-11-07 11:41:36.016793
MonadPrompt
unknown
Control.Monad.Prompt
MonadPrompt
Control/Monad/Prompt.hs:83:18-28
class Monad m => MonadPrompt p m | m -> p where prompt :: p a -> m a
83
84
2025-11-07 11:41:37.291216
2025-11-07 11:41:37.291216
MonadRandom
unknown
Control.Monad.Random.Class
MonadRandom
Control/Monad/Random/Class.hs:82:20-30
class (Monad m) => MonadRandom m where getRandomR :: (Random.Random a) => (a, a) -> m a getRandom :: (Random.Random a) => m a getRandomRs :: (Random.Random a) => (a, a) -> m [a] getRandoms :: (Random.Random a) => m [a]
82
117
2025-11-07 11:41:38.244766
2025-11-07 11:41:38.244766
MonadRandom
unknown
Control.Monad.Random.Class
MonadSplit
Control/Monad/Random/Class.hs:202:20-29
class (Monad m) => MonadSplit g m | m -> g where getSplit :: m g
202
208
2025-11-07 11:41:38.244776
2025-11-07 11:41:38.244776
MonadRandom
unknown
Control.Monad.Random.Class
MonadInterleave
Control/Monad/Random/Class.hs:252:24-38
class MonadRandom m => MonadInterleave m where interleave :: m a -> m a
252
296
2025-11-07 11:41:38.244783
2025-11-07 11:41:38.244783
QuickCheck
unknown
Test.QuickCheck.Property
Testable
src/Test/QuickCheck/Property.hs:93:7-14
class Testable prop where property :: prop -> Property propertyForAllShrinkShow :: Gen a -> (a -> [a]) -> (a -> [String]) -> (a -> prop) -> Property propertyForAllShrinkShow gen shr shw f = forAllShrinkBlind gen shr $ \ x -> foldr counterexample (property (f x)) (shw x)
93
105
2025-11-07 11:41:41.299631
2025-11-07 11:41:41.299631
QuickCheck
unknown
Test.QuickCheck.Arbitrary
Arbitrary
src/Test/QuickCheck/Arbitrary.hs:194:7-15
class Arbitrary a where arbitrary :: Gen a shrink :: a -> [a] shrink _ = []
194
283
2025-11-07 11:41:41.299648
2025-11-07 11:41:41.299648
QuickCheck
unknown
Test.QuickCheck.Arbitrary
Arbitrary1
src/Test/QuickCheck/Arbitrary.hs:286:7-16
class Arbitrary1 f where liftArbitrary :: Gen a -> Gen (f a) liftShrink :: (a -> [a]) -> f a -> [f a] liftShrink _ _ = []
286
289
2025-11-07 11:41:41.299654
2025-11-07 11:41:41.299654
QuickCheck
unknown
Test.QuickCheck.Arbitrary
Arbitrary2
src/Test/QuickCheck/Arbitrary.hs:298:7-16
class Arbitrary2 f where liftArbitrary2 :: Gen a -> Gen b -> Gen (f a b) liftShrink2 :: (a -> [a]) -> (b -> [b]) -> f a b -> [f a b] liftShrink2 _ _ _ = []
298
301
2025-11-07 11:41:41.299661
2025-11-07 11:41:41.299661
QuickCheck
unknown
Test.QuickCheck.Arbitrary
RecursivelyShrink
src/Test/QuickCheck/Arbitrary.hs:319:7-23
class RecursivelyShrink f where grecursivelyShrink :: f a -> [f a]
319
320
2025-11-07 11:41:41.299667
2025-11-07 11:41:41.299667
QuickCheck
unknown
Test.QuickCheck.Arbitrary
GSubterms
src/Test/QuickCheck/Arbitrary.hs:350:7-15
class GSubterms f a where gSubterms :: f a -> [a]
350
360
2025-11-07 11:41:41.299673
2025-11-07 11:41:41.299673
QuickCheck
unknown
Test.QuickCheck.Arbitrary
GSubtermsIncl
src/Test/QuickCheck/Arbitrary.hs:383:7-19
class GSubtermsIncl f a where gSubtermsIncl :: f a -> [a]
383
389
2025-11-07 11:41:41.299679
2025-11-07 11:41:41.299679
QuickCheck
unknown
Test.QuickCheck.Arbitrary
CoArbitrary
src/Test/QuickCheck/Arbitrary.hs:1317:7-17
class CoArbitrary a where coarbitrary :: a -> Gen b -> Gen b default coarbitrary :: (Generic a, GCoArbitrary (Rep a)) => a -> Gen b -> Gen b coarbitrary = genericCoarbitrary
1,317
1,332
2025-11-07 11:41:41.299686
2025-11-07 11:41:41.299686
QuickCheck
unknown
Test.QuickCheck.Arbitrary
GCoArbitrary
src/Test/QuickCheck/Arbitrary.hs:1338:7-18
class GCoArbitrary f where gCoarbitrary :: f a -> Gen b -> Gen b
1,338
1,339
2025-11-07 11:41:41.299693
2025-11-07 11:41:41.299693
QuickCheck
unknown
Test.QuickCheck.Modifiers
ShrinkState
src/Test/QuickCheck/Modifiers.hs:468:7-17
class ShrinkState s a where shrinkInit :: a -> s shrinkState :: a -> s -> [(a, s)]
468
470
2025-11-07 11:41:41.299698
2025-11-07 11:41:41.299698
QuickCheck
unknown
Test.QuickCheck.Random
Splittable
src/Test/QuickCheck/Random.hs:79:7-16
class Splittable a where left, right :: a -> a
79
80
2025-11-07 11:41:41.299704
2025-11-07 11:41:41.299704
QuickCheck
unknown
Test.QuickCheck.Function
Function
src/Test/QuickCheck/Function.hs:165:7-14
class Function a where function :: (a -> b) -> (a :-> b) default function :: (Generic a, GFunction (Rep a)) => (a -> b) -> (a :-> b) function = genericFunction
165
169
2025-11-07 11:41:41.299710
2025-11-07 11:41:41.299710
QuickCheck
unknown
Test.QuickCheck.Function
GFunction
src/Test/QuickCheck/Function.hs:465:7-15
class GFunction f where gFunction :: (f a -> b) -> (f a :-> b)
465
466
2025-11-07 11:41:41.299716
2025-11-07 11:41:41.299716
RSA
unknown
Codec.Crypto.RSA.Pure
RSAKey
src/Codec/Crypto/RSA/Pure.hs:88:7-12
class RSAKey a where genKeySize :: a -> Int
88
89
2025-11-07 11:41:42.400257
2025-11-07 11:41:42.400257
StateVar
unknown
Data.StateVar
HasSetter
src/Data/StateVar.hs:176:7-15
class HasSetter t a | t -> a where ($=) :: MonadIO m => t -> a -> m ()
176
178
2025-11-07 11:41:44.865669
2025-11-07 11:41:44.865669
StateVar
unknown
Data.StateVar
HasUpdate
src/Data/StateVar.hs:216:24-32
class HasSetter t b => HasUpdate t a b | t -> a b where ($~) :: MonadIO m => t -> (a -> b) -> m () default ($~) :: (MonadIO m, a ~ b, HasGetter t a) => t -> (a -> b) -> m () ($~) = defaultUpdate ($~!) :: MonadIO m => t -> (a -> b) -> m () default ($~!) :: (MonadIO m, a ~ b, HasGetter t a) => t -> (a -> b) -> m () ($~!) = defaultUpdateStrict
216
227
2025-11-07 11:41:44.865677
2025-11-07 11:41:44.865677
syb
unknown
GetC
GetT
tests/GetC.hs:86:7-10
class GetT f t | f -> t
86
86
2025-11-07 11:55:36.961992
2025-11-07 11:55:36.961992
StateVar
unknown
Data.StateVar
HasGetter
src/Data/StateVar.hs:275:7-15
class HasGetter t a | t -> a where get :: MonadIO m => t -> m a
275
276
2025-11-07 11:41:44.865687
2025-11-07 11:41:44.865687
adjunctions
unknown
Data.Functor.Adjunction
Adjunction
src/Data/Functor/Adjunction.hs:81:7-16
class (Functor f, Representable u) => Adjunction f u | f -> u, u -> f where {-# MINIMAL (unit, counit) | (leftAdjunct, rightAdjunct) #-} unit :: a -> u (f a) counit :: f (u a) -> a leftAdjunct :: (f a -> b) -> a -> u b rightAdjunct :: (a -> u b) -> f a -> b unit = leftAdjunct id counit = rightAdjunct id leftAdjunct f = fmap f . unit rightAdjunct f = counit . fmap f
80
93
2025-11-07 11:41:46.873451
2025-11-07 11:41:46.873451
adjunctions
unknown
Data.Functor.Rep
Representable
src/Data/Functor/Rep.hs:130:25-37
class Distributive f => Representable f where type Rep f :: * type Rep f = GRep f tabulate :: (Rep f -> a) -> f a default tabulate :: (Generic1 f, GRep f ~ Rep f, GTabulate (Rep1 f)) => (Rep f -> a) -> f a tabulate = gtabulate index :: f a -> Rep f -> a default index :: (Generic1 f, GRep f ~ Rep f, GIndex (Rep1 f)) => f a -> Rep f -> a index = gindex
130
150
2025-11-07 11:41:46.873466
2025-11-07 11:41:46.873466
adjunctions
unknown
Data.Functor.Rep
GTabulate
src/Data/Functor/Rep.hs:181:7-15
class GTabulate f where gtabulate' :: (GRep' f -> a) -> f a
181
182
2025-11-07 11:41:46.873477
2025-11-07 11:41:46.873477
adjunctions
unknown
Data.Functor.Rep
GIndex
src/Data/Functor/Rep.hs:183:7-12
class GIndex f where gindex' :: f a -> GRep' f -> a
183
184
2025-11-07 11:41:46.873482
2025-11-07 11:41:46.873482
adjunctions
unknown
Data.Functor.Contravariant.Adjunction
Adjunction
src/Data/Functor/Contravariant/Adjunction.hs:43:45-54
class (Contravariant f, Representable g) => Adjunction f g | f -> g, g -> f where {-# MINIMAL (unit, counit) | (leftAdjunct, rightAdjunct) #-} unit :: a -> g (f a) counit :: a -> f (g a) leftAdjunct :: (b -> f a) -> a -> g b rightAdjunct :: (a -> g b) -> b -> f a unit = leftAdjunct id counit = rightAdjunct id leftAdjunct f = contramap f . unit rightAdjunct f = contramap f . counit
43
55
2025-11-07 11:41:46.873488
2025-11-07 11:41:46.873488
adjunctions
unknown
Data.Functor.Contravariant.Rep
Representable
src/Data/Functor/Contravariant/Rep.hs:40:26-38
class Contravariant f => Representable f where type Rep f :: * tabulate :: (a -> Rep f) -> f a index :: f a -> a -> Rep f contramapWithRep :: (b -> Either a (Rep f)) -> f a -> f b contramapWithRep f p = tabulate $ either (index p) id . f
40
55
2025-11-07 11:41:46.873501
2025-11-07 11:41:46.873501
aeson
unknown
Data.Aeson.TH
LookupField
src/Data/Aeson/TH.hs:1152:7-17
class LookupField a where lookupField :: (Value -> Parser a) -> String -> String -> Object -> Key -> Parser a
1,152
1,154
2025-11-07 11:41:48.339374
2025-11-07 11:41:48.339374
aeson
unknown
Data.Aeson.Types.Generic
IsRecord
src/Data/Aeson/Types/Generic.hs:46:7-14
class IsRecord (f :: Type -> Type) isRecord | f -> isRecord
46
46
2025-11-07 11:41:48.339395
2025-11-07 11:41:48.339395
aeson
unknown
Data.Aeson.Types.Generic
AllNullary
src/Data/Aeson/Types/Generic.hs:59:7-16
class AllNullary (f :: Type -> Type) allNullary | f -> allNullary
59
59
2025-11-07 11:41:48.339402
2025-11-07 11:41:48.339402
aeson
unknown
Data.Aeson.Types.Generic
And
src/Data/Aeson/Types/Generic.hs:81:10-12
class And bool1 bool2 bool3 | bool1 bool2 -> bool3
81
81
2025-11-07 11:41:48.339407
2025-11-07 11:41:48.339407
aeson
unknown
Data.Aeson.Types.Generic
ProductSize
src/Data/Aeson/Types/Generic.hs:98:7-17
class ProductSize f where productSize :: Tagged2 f Int
98
99
2025-11-07 11:41:48.339412
2025-11-07 11:41:48.339412
aeson
unknown
Data.Aeson.Types.FromJSON
GFromJSON
src/Data/Aeson/Types/FromJSON.hs:249:7-15
class GFromJSON arity f where gParseJSON :: Options -> FromArgs arity a -> Value -> Parser (f a)
249
253
2025-11-07 11:41:48.339418
2025-11-07 11:41:48.339418
aeson
unknown
Data.Aeson.Types.FromJSON
FromJSON
src/Data/Aeson/Types/FromJSON.hs:386:7-14
class FromJSON a where parseJSON :: Value -> Parser a default parseJSON :: (Generic a, GFromJSON Zero (Rep a)) => Value -> Parser a parseJSON = genericParseJSON defaultOptions parseJSONList :: Value -> Parser [a] parseJSONList = withArray "[]" $ \ a -> zipWithM (parseIndexedJSON parseJSON) [0 .. ] . V.toList $ a
386
396
2025-11-07 11:41:48.339424
2025-11-07 11:41:48.339424
aeson
unknown
Data.Aeson.Types.FromJSON
FromJSONKey
src/Data/Aeson/Types/FromJSON.hs:423:7-17
class FromJSONKey a where fromJSONKey :: FromJSONKeyFunction a default fromJSONKey :: FromJSON a => FromJSONKeyFunction a fromJSONKey = FromJSONKeyValue parseJSON fromJSONKeyList :: FromJSONKeyFunction [a] default fromJSONKeyList :: FromJSON a => FromJSONKeyFunction [a] fromJSONKeyList = FromJSONKeyValue parseJSON
423
435
2025-11-07 11:41:48.339433
2025-11-07 11:41:48.339433
aeson
unknown
Data.Aeson.Types.FromJSON
GFromJSONKey
src/Data/Aeson/Types/FromJSON.hs:516:51-62
class (ConstructorNames f, SumFromString f) => GFromJSONKey f
516
516
2025-11-07 11:41:48.339441
2025-11-07 11:41:48.339441
aeson
unknown
Data.Aeson.Types.FromJSON
FromJSON1
src/Data/Aeson/Types/FromJSON.hs:610:7-15
class FromJSON1 f where liftParseJSON :: (Value -> Parser a) -> (Value -> Parser [a]) -> Value -> Parser (f a) default liftParseJSON :: (Generic1 f, GFromJSON One (Rep1 f)) => (Value -> Parser a) -> (Value -> Parser [a]) -> Value -> Parser (f a) liftParseJSON = genericLiftParseJSON defaultOptions liftParseJSONList :: (Value -> Parser a) -> (Value -> Parser [a]) -> Value -> Parser [f a] liftParseJSONList f g v = listParser (liftParseJSON f g) v
610
618
2025-11-07 11:41:48.339446
2025-11-07 11:41:48.339446
aeson
unknown
Data.Aeson.Types.FromJSON
FromJSON2
src/Data/Aeson/Types/FromJSON.hs:637:7-15
class FromJSON2 f where liftParseJSON2 :: (Value -> Parser a) -> (Value -> Parser [a]) -> (Value -> Parser b) -> (Value -> Parser [b]) -> Value -> Parser (f a b) liftParseJSONList2 :: (Value -> Parser a) -> (Value -> Parser [a]) -> (Value -> Parser b) -> (Value -> Parser [b]) -> Value -> Parser [f a b] liftParseJSONList2 fa ga fb gb = withArray "[]" $ \ vals -> fmap V.toList (V.mapM (liftParseJSON2 fa ga fb gb) vals)
637
651
2025-11-07 11:41:48.339456
2025-11-07 11:41:48.339456
aeson
unknown
Data.Aeson.Types.FromJSON
GFromJSON'
src/Data/Aeson/Types/FromJSON.hs:978:7-16
class GFromJSON' arity f where gParseJSON' :: TypeName :* Options :* FromArgs arity a -> Value -> Parser (f a)
978
981
2025-11-07 11:41:48.339466
2025-11-07 11:41:48.339466
aeson
unknown
Data.Aeson.Types.FromJSON
ParseSum
src/Data/Aeson/Types/FromJSON.hs:1020:7-14
class ParseSum arity f allNullary where parseSum :: TypeName :* Options :* FromArgs arity a -> Value -> Tagged allNullary (Parser (f a))
1,020
1,023
2025-11-07 11:41:48.339472
2025-11-07 11:41:48.339472
aeson
unknown
Data.Aeson.Types.FromJSON
SumFromString
src/Data/Aeson/Types/FromJSON.hs:1068:7-19
class SumFromString f where parseSumFromString :: (String -> String) -> Text -> Maybe (f a)
1,068
1,069
2025-11-07 11:41:48.339478
2025-11-07 11:41:48.339478
aeson
unknown
Data.Aeson.Types.FromJSON
ConstructorNames
src/Data/Aeson/Types/FromJSON.hs:1096:7-22
class ConstructorNames a where constructorNames' :: (String -> t) -> Tagged2 a (DList.DList t)
1,096
1,097
2025-11-07 11:41:48.339483
2025-11-07 11:41:48.339483
aeson
unknown
Data.Aeson.Types.FromJSON
FromTaggedObject
src/Data/Aeson/Types/FromJSON.hs:1175:7-22
class FromTaggedObject arity f where parseFromTaggedObject :: Text :* String :* TypeName :* Options :* FromArgs arity a -> Object -> Maybe (Parser (f a))
1,175
1,181
2025-11-07 11:41:48.339489
2025-11-07 11:41:48.339489
aeson
unknown
Data.Aeson.Types.ToJSON
RecordToPairs
src/Data/Aeson/Types/ToJSON.hs:1112:7-19
class RecordToPairs enc pairs arity f where recordToPairs :: Options -> ToArgs enc arity a -> f a -> pairs
1,112
1,117
2025-11-07 11:41:48.339722
2025-11-07 11:41:48.339722
aeson
unknown
Data.Aeson.Types.FromJSON
FromTaggedObject'
src/Data/Aeson/Types/FromJSON.hs:1207:7-23
class FromTaggedObject' arity f isRecord where parseFromTaggedObject' :: String :* ConName :* TypeName :* Options :* FromArgs arity a -> Object -> Tagged isRecord (Parser (f a))
1,207
1,211
2025-11-07 11:41:48.339495
2025-11-07 11:41:48.339495
aeson
unknown
Data.Aeson.Types.FromJSON
ConsFromJSON
src/Data/Aeson/Types/FromJSON.hs:1237:7-18
class ConsFromJSON arity f where consParseJSON :: ConName :* TypeName :* Options :* FromArgs arity a -> Value -> Parser (f a)
1,237
1,240
2025-11-07 11:41:48.339502
2025-11-07 11:41:48.339502
aeson
unknown
Data.Aeson.Types.FromJSON
ConsFromJSON'
src/Data/Aeson/Types/FromJSON.hs:1242:7-19
class ConsFromJSON' arity f isRecord where consParseJSON' :: ConName :* TypeName :* Options :* FromArgs arity a -> Value -> Tagged isRecord (Parser (f a))
1,242
1,245
2025-11-07 11:41:48.339510
2025-11-07 11:41:48.339510
aeson
unknown
Data.Aeson.Types.FromJSON
FieldNames
src/Data/Aeson/Types/FromJSON.hs:1294:7-16
class FieldNames f where fieldNames :: f a -> [String] -> [String]
1,294
1,295
2025-11-07 11:41:48.339517
2025-11-07 11:41:48.339517
aeson
unknown
Data.Aeson.Types.FromJSON
RecordFromJSON
src/Data/Aeson/Types/FromJSON.hs:1307:7-20
class RecordFromJSON arity f where recordParseJSON :: Bool :* ConName :* TypeName :* Options :* FromArgs arity a -> Object -> Parser (f a)
1,307
1,310
2025-11-07 11:41:48.339522
2025-11-07 11:41:48.339522
aeson
unknown
Data.Aeson.Types.FromJSON
RecordFromJSON'
src/Data/Aeson/Types/FromJSON.hs:1332:7-21
class RecordFromJSON' arity f where recordParseJSON' :: ConName :* TypeName :* Options :* FromArgs arity a -> Object -> Parser (f a)
1,332
1,335
2025-11-07 11:41:48.339528
2025-11-07 11:41:48.339528
aeson
unknown
Data.Aeson.Types.FromJSON
ProductFromJSON
src/Data/Aeson/Types/FromJSON.hs:1394:7-21
class ProductFromJSON arity f where productParseJSON :: ConName :* TypeName :* Options :* FromArgs arity a -> Array -> Int -> Int -> Parser (f a)
1,394
1,397
2025-11-07 11:41:48.339534
2025-11-07 11:41:48.339534
aeson
unknown
Data.Aeson.Types.FromJSON
FromPair
src/Data/Aeson/Types/FromJSON.hs:1417:7-14
class FromPair arity f where parsePair :: Key :* TypeName :* Options :* FromArgs arity a -> Value -> Maybe (Parser (f a))
1,417
1,421
2025-11-07 11:41:48.339540
2025-11-07 11:41:48.339540
aeson
unknown
Data.Aeson.Types.FromJSON
FromUntaggedValue
src/Data/Aeson/Types/FromJSON.hs:1444:7-23
class FromUntaggedValue arity f where parseUntaggedValue :: TypeName :* Options :* FromArgs arity a -> Value -> Parser (f a)
1,444
1,447
2025-11-07 11:41:48.339546
2025-11-07 11:41:48.339546
aeson
unknown
Data.Aeson.Types.ToJSON
GToJSON'
src/Data/Aeson/Types/ToJSON.hs:168:7-14
class GToJSON' enc arity f where gToJSON :: Options -> ToArgs enc arity a -> f a -> enc
168
177
2025-11-07 11:41:48.339620
2025-11-07 11:41:48.339620
aeson
unknown
Data.Aeson.Types.ToJSON
ToJSON
src/Data/Aeson/Types/ToJSON.hs:302:7-12
class ToJSON a where toJSON :: a -> Value default toJSON :: (Generic a, GToJSON' Value Zero (Rep a)) => a -> Value toJSON = genericToJSON defaultOptions toEncoding :: a -> Encoding toEncoding = E.value . toJSON toJSONList :: [a] -> Value toJSONList = listValue toJSON toEncodingList :: [a] -> Encoding toEncodingList = listEncoding toEncoding
302
334
2025-11-07 11:41:48.339627
2025-11-07 11:41:48.339627
aeson
unknown
Data.Aeson.Types.ToJSON
KeyValue
src/Data/Aeson/Types/ToJSON.hs:346:7-14
class KeyValue kv where (.=) :: ToJSON v => Key -> v -> kv infixr 8 .=
346
348
2025-11-07 11:41:48.339635
2025-11-07 11:41:48.339635
aeson
unknown
Data.Aeson.Types.ToJSON
ToJSONKey
src/Data/Aeson/Types/ToJSON.hs:485:7-15
class ToJSONKey a where toJSONKey :: ToJSONKeyFunction a default toJSONKey :: ToJSON a => ToJSONKeyFunction a toJSONKey = ToJSONKeyValue toJSON toEncoding toJSONKeyList :: ToJSONKeyFunction [a] default toJSONKeyList :: ToJSON a => ToJSONKeyFunction [a] toJSONKeyList = ToJSONKeyValue toJSON toEncoding
485
497
2025-11-07 11:41:48.339641
2025-11-07 11:41:48.339641
aeson
unknown
Data.Aeson.Types.ToJSON
GToJSONKey
src/Data/Aeson/Types/ToJSON.hs:563:26-35
class GetConName f => GToJSONKey f
563
563
2025-11-07 11:41:48.339648
2025-11-07 11:41:48.339648
aeson
unknown
Data.Aeson.Types.ToJSON
ToJSON1
src/Data/Aeson/Types/ToJSON.hs:615:7-13
class ToJSON1 f where liftToJSON :: (a -> Value) -> ([a] -> Value) -> f a -> Value default liftToJSON :: (Generic1 f, GToJSON' Value One (Rep1 f)) => (a -> Value) -> ([a] -> Value) -> f a -> Value liftToJSON = genericLiftToJSON defaultOptions liftToJSONList :: (a -> Value) -> ([a] -> Value) -> [f a] -> Value liftToJSONList f g = listValue (liftToJSON f g) liftToEncoding :: (a -> Encoding) -> ([a] -> Encoding) -> f a -> Encoding default liftToEncoding :: (Generic1 f, GToJSON' Encoding One (Rep1 f)) => (a -> Encoding) -> ([a] -> Encoding) -> f a -> Encoding liftToEncoding = genericLiftToEncoding defaultOptions liftToEncodingList :: (a -> Encoding) -> ([a] -> Encoding) -> [f a] -> Encoding liftToEncodingList f g = listEncoding (liftToEncoding f g)
615
633
2025-11-07 11:41:48.339653
2025-11-07 11:41:48.339653
aeson
unknown
Data.Aeson.Types.ToJSON
ToJSON2
src/Data/Aeson/Types/ToJSON.hs:660:7-13
class ToJSON2 f where liftToJSON2 :: (a -> Value) -> ([a] -> Value) -> (b -> Value) -> ([b] -> Value) -> f a b -> Value liftToJSONList2 :: (a -> Value) -> ([a] -> Value) -> (b -> Value) -> ([b] -> Value) -> [f a b] -> Value liftToJSONList2 fa ga fb gb = listValue (liftToJSON2 fa ga fb gb) liftToEncoding2 :: (a -> Encoding) -> ([a] -> Encoding) -> (b -> Encoding) -> ([b] -> Encoding) -> f a b -> Encoding liftToEncodingList2 :: (a -> Encoding) -> ([a] -> Encoding) -> (b -> Encoding) -> ([b] -> Encoding) -> [f a b] -> Encoding liftToEncodingList2 fa ga fb gb = listEncoding (liftToEncoding2 fa ga fb gb)
660
667
2025-11-07 11:41:48.339666
2025-11-07 11:41:48.339666
aeson
unknown
Data.Aeson.Types.ToJSON
SumToJSON
src/Data/Aeson/Types/ToJSON.hs:879:7-15
class SumToJSON enc arity f allNullary where sumToJSON :: Options -> ToArgs enc arity a -> f a -> Tagged allNullary enc
879
881
2025-11-07 11:41:48.339678
2025-11-07 11:41:48.339678
aeson
unknown
Data.Aeson.Types.ToJSON
FromString
src/Data/Aeson/Types/ToJSON.hs:933:7-16
class FromString enc where fromString :: String -> enc
933
934
2025-11-07 11:41:48.339684
2025-11-07 11:41:48.339684
aeson
unknown
Data.Aeson.Types.ToJSON
TaggedObject
src/Data/Aeson/Types/ToJSON.hs:944:7-18
class TaggedObject enc arity f where taggedObject :: Options -> ToArgs enc arity a -> Key -> Key -> f a -> enc
944
947
2025-11-07 11:41:48.339689
2025-11-07 11:41:48.339689
aeson
unknown
Data.Aeson.Types.ToJSON
TaggedObject'
src/Data/Aeson/Types/ToJSON.hs:978:7-19
class TaggedObject' enc pairs arity f isRecord where taggedObject' :: Options -> ToArgs enc arity a -> Key -> f a -> Tagged isRecord pairs
978
980
2025-11-07 11:41:48.339694
2025-11-07 11:41:48.339694
aeson
unknown
Data.Aeson.Types.ToJSON
GetConName
src/Data/Aeson/Types/ToJSON.hs:1003:7-16
class GetConName f where getConName :: f a -> String
1,003
1,004
2025-11-07 11:41:48.339700
2025-11-07 11:41:48.339700
aeson
unknown
Data.Aeson.Types.ToJSON
SumToJSON'
src/Data/Aeson/Types/ToJSON.hs:1030:7-16
class SumToJSON' s enc arity f where sumToJSON' :: Options -> ToArgs enc arity a -> f a -> Tagged s enc
1,030
1,032
2025-11-07 11:41:48.339705
2025-11-07 11:41:48.339705
aeson
unknown
Data.Aeson.Types.ToJSON
ConsToJSON
src/Data/Aeson/Types/ToJSON.hs:1071:7-16
class ConsToJSON enc arity f where consToJSON :: Options -> ToArgs enc arity a -> f a -> enc
1,071
1,073
2025-11-07 11:41:48.339711
2025-11-07 11:41:48.339711
aeson
unknown
Data.Aeson.Types.ToJSON
ConsToJSON'
src/Data/Aeson/Types/ToJSON.hs:1075:7-17
class ConsToJSON' enc arity f isRecord where consToJSON' :: Options -> ToArgs enc arity a -> f a -> Tagged isRecord enc
1,075
1,077
2025-11-07 11:41:48.339716
2025-11-07 11:41:48.339716
aeson
unknown
Data.Aeson.Types.ToJSON
WriteProduct
src/Data/Aeson/Types/ToJSON.hs:1179:7-18
class WriteProduct arity f where writeProduct :: Options -> ToArgs Value arity a -> VM.MVector s Value -> Int " index" -> Int " length" -> f a -> ST s ()
1,179
1,186
2025-11-07 11:41:48.339727
2025-11-07 11:41:48.339727
aeson
unknown
Data.Aeson.Types.ToJSON
EncodeProduct
src/Data/Aeson/Types/ToJSON.hs:1207:7-19
class EncodeProduct arity f where encodeProduct :: Options -> ToArgs Encoding arity a -> f a -> Encoding' E.InArray
1,207
1,209
2025-11-07 11:41:48.339734
2025-11-07 11:41:48.339734
aeson
unknown
Data.Aeson.Types.ToJSON
FromPairs
src/Data/Aeson/Types/ToJSON.hs:2753:23-31
class Monoid pairs => FromPairs enc pairs | enc -> pairs where fromPairs :: pairs -> enc
2,753
2,754
2025-11-07 11:41:48.339740
2025-11-07 11:41:48.339740
aeson
unknown
Data.Aeson.Types.ToJSON
KeyValuePair
src/Data/Aeson/Types/ToJSON.hs:2767:20-31
class Monoid kv => KeyValuePair v kv where pair :: Key -> v -> kv
2,767
2,768
2025-11-07 11:41:48.339745
2025-11-07 11:41:48.339745
End of preview.
README.md exists but content is empty.
Downloads last month
18