refactor(wpcarro/emacs): Remove cycle.el dep on list.el
Cleaning-up the dependency graph before (maybe) publishing this to MELPA. Change-Id: Ic30c5e155621d57f0fd3ec30ef6c9e4ab14aba3e Reviewed-on: https://cl.tvl.fyi/c/depot/+/6026 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
This commit is contained in:
		
							parent
							
								
									6c1ca20a62
								
							
						
					
					
						commit
						9d475c5b9b
					
				
					 2 changed files with 1 additions and 5 deletions
				
			
		|  | @ -16,7 +16,6 @@ | |||
| 
 | ||||
| (require 'dash) | ||||
| (require 'maybe) | ||||
| (require 'list) | ||||
| (require 'struct) | ||||
| (require 'cl-lib) | ||||
| 
 | ||||
|  | @ -164,9 +163,7 @@ If X is the currently focused value, after it's deleted, current-index will be | |||
| 
 | ||||
| (defun cycle-contains? (x xs) | ||||
|   "Return t if cycle, XS, has member X." | ||||
|   (->> xs | ||||
|        cycle-xs | ||||
|        (list-contains? x))) | ||||
|   (maybe-some? (-contains? (cycle-xs xs) x))) | ||||
| 
 | ||||
| (defun cycle-empty? (xs) | ||||
|   "Return t if cycle XS has no elements." | ||||
|  |  | |||
|  | @ -12,7 +12,6 @@ let | |||
|             dash | ||||
|           ]) ++ | ||||
|           (with depot.users.wpcarro.emacs.pkgs; [ | ||||
|             list | ||||
|             maybe | ||||
|             struct | ||||
|           ]); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue