func DedupeBoolPtr(list []*bool) []*bool {
	var newList []*bool
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && *list[i] == *list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
DedupeBoolPtr Returns a new list removing consecutive duplicates in list.
package fp
func DedupeInt(list []int) []int {
	var newList []int
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && list[i] == list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeIntPtr(list []*int) []*int {
	var newList []*int
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && *list[i] == *list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeInt64(list []int64) []int64 {
	var newList []int64
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && list[i] == list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeInt64Ptr(list []*int64) []*int64 {
	var newList []*int64
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && *list[i] == *list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeInt32(list []int32) []int32 {
	var newList []int32
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && list[i] == list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeInt32Ptr(list []*int32) []*int32 {
	var newList []*int32
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && *list[i] == *list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeInt16(list []int16) []int16 {
	var newList []int16
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && list[i] == list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeInt16Ptr(list []*int16) []*int16 {
	var newList []*int16
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && *list[i] == *list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeInt8(list []int8) []int8 {
	var newList []int8
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && list[i] == list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeInt8Ptr(list []*int8) []*int8 {
	var newList []*int8
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && *list[i] == *list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeUint(list []uint) []uint {
	var newList []uint
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && list[i] == list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeUintPtr(list []*uint) []*uint {
	var newList []*uint
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && *list[i] == *list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeUint64(list []uint64) []uint64 {
	var newList []uint64
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && list[i] == list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeUint64Ptr(list []*uint64) []*uint64 {
	var newList []*uint64
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && *list[i] == *list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeUint32(list []uint32) []uint32 {
	var newList []uint32
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && list[i] == list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeUint32Ptr(list []*uint32) []*uint32 {
	var newList []*uint32
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && *list[i] == *list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeUint16(list []uint16) []uint16 {
	var newList []uint16
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && list[i] == list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeUint16Ptr(list []*uint16) []*uint16 {
	var newList []*uint16
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && *list[i] == *list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeUint8(list []uint8) []uint8 {
	var newList []uint8
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && list[i] == list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeUint8Ptr(list []*uint8) []*uint8 {
	var newList []*uint8
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && *list[i] == *list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeStr(list []string) []string {
	var newList []string
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && list[i] == list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeStrPtr(list []*string) []*string {
	var newList []*string
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && *list[i] == *list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}
func DedupeBool(list []bool) []bool {
	var newList []bool
	lenList := len(list)
	for i := 0; i < lenList; i++ {
		if i+1 < lenList && list[i] == list[i+1] {
			continue
		}
		newList = append(newList, list[i])
	}
	return newList
}