@@ -101,39 +101,39 @@ newtype DirType = DirType CChar
101
101
102
102
-- | The 'DirType' refers to an entry of unknown type.
103
103
pattern UnknownType :: DirType
104
- pattern UnknownType = DirType CONST_DT_UNKNOWN
104
+ pattern UnknownType = DirType ( CONST_DT_UNKNOWN )
105
105
106
106
-- | The 'DirType' refers to an entry that is a named pipe.
107
107
pattern NamedPipeType :: DirType
108
- pattern NamedPipeType = DirType CONST_DT_FIFO
108
+ pattern NamedPipeType = DirType ( CONST_DT_FIFO )
109
109
110
110
-- | The 'DirType' refers to an entry that is a character device.
111
111
pattern CharacterDeviceType :: DirType
112
- pattern CharacterDeviceType = DirType CONST_DT_CHR
112
+ pattern CharacterDeviceType = DirType ( CONST_DT_CHR )
113
113
114
114
-- | The 'DirType' refers to an entry that is a directory.
115
115
pattern DirectoryType :: DirType
116
- pattern DirectoryType = DirType CONST_DT_DIR
116
+ pattern DirectoryType = DirType ( CONST_DT_DIR )
117
117
118
118
-- | The 'DirType' refers to an entry that is a block device.
119
119
pattern BlockDeviceType :: DirType
120
- pattern BlockDeviceType = DirType CONST_DT_BLK
120
+ pattern BlockDeviceType = DirType ( CONST_DT_BLK )
121
121
122
122
-- | The 'DirType' refers to an entry that is a regular file.
123
123
pattern RegularFileType :: DirType
124
- pattern RegularFileType = DirType CONST_DT_REG
124
+ pattern RegularFileType = DirType ( CONST_DT_REG )
125
125
126
126
-- | The 'DirType' refers to an entry that is a symbolic link.
127
127
pattern SymbolicLinkType :: DirType
128
- pattern SymbolicLinkType = DirType CONST_DT_LNK
128
+ pattern SymbolicLinkType = DirType ( CONST_DT_LNK )
129
129
130
130
-- | The 'DirType' refers to an entry that is a socket.
131
131
pattern SocketType :: DirType
132
- pattern SocketType = DirType CONST_DT_SOCK
132
+ pattern SocketType = DirType ( CONST_DT_SOCK )
133
133
134
134
-- | The 'DirType' refers to an entry that is a whiteout.
135
135
pattern WhiteoutType :: DirType
136
- pattern WhiteoutType = DirType CONST_DT_WHT
136
+ pattern WhiteoutType = DirType ( CONST_DT_WHT )
137
137
138
138
-- | Checks if this 'DirType' refers to an entry of unknown type.
139
139
isUnknownType :: DirType -> Bool
0 commit comments